Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Too Many Character Being Accepted for a Text Box
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00750605
Message ID:
00750730
Views:
17
Alan,

I must have been on autopilot :)

>I ran into this on a piece of software I inherited. In just about all of the text fields attached to table fields, I had to go in and set one or the other.
>
>Alan
>
>>Alan,
>>
>>For some reason I thought that when the control source for a textbox was a field from a * table *, the maximum length was the # of characters in the field. Also, that the control source was a variable, you had to specify the input max.
>>
>>I must be losing it.
>>
>>
>>>Allan,
>>>
>>>As far as I know, it's always been like that. You have to set a mask or set the maxlength.
>>>
>>>Alan
>>>
>>>>Can anyone advise as to how/why too many characters are being accepted in a texbox?
>>>>Here is the scenario:
>>>>I have a text box with a control source of a field in table that is 30 characters. If I don't specify an input mask, 45 character can be input then the field redisplays as the correct 30 characters.
>>>>I belive that this text class was working fine until I added a navigation class included with the VFP 7 samples.
>>>>
>>>>Thank you in inadvance.
Regards,

Allan Coganovitch
allanc@proven-solutions.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform