strantheman
Programmer
I made a custom form with unbound text boxes. There's a SAVE button that executes a query which performs a SQL insert statement.
One of the textboxes on my form "pictured" will be used to enter a list of names. The corresponding field in my table has been set to type MEMO to allow for the length of the entry. The insert statement worked fine until I tried to enter more than 128 characters into the "pictured" textbox. The form didn't even execute the query, it just stopped, and threw a "Invalid Argument" error dialogue at me.
I tested the form over and over to pin point that it was this single field causing the error. I also hypothesized that the amount of characters had something to do with the problem. I discovered that the SAVE button works fine when using 128 characters or less, but as soon as I enter the 129th character into the "pictured" field my form stops cold. I have been unable to find any property related to a textbox that would allow me to increase some sort of limit. Does anyone know why im receiving this error or possibly another option for me?
One of the textboxes on my form "pictured" will be used to enter a list of names. The corresponding field in my table has been set to type MEMO to allow for the length of the entry. The insert statement worked fine until I tried to enter more than 128 characters into the "pictured" textbox. The form didn't even execute the query, it just stopped, and threw a "Invalid Argument" error dialogue at me.
I tested the form over and over to pin point that it was this single field causing the error. I also hypothesized that the amount of characters had something to do with the problem. I discovered that the SAVE button works fine when using 128 characters or less, but as soon as I enter the 129th character into the "pictured" field my form stops cold. I have been unable to find any property related to a textbox that would allow me to increase some sort of limit. Does anyone know why im receiving this error or possibly another option for me?