>>=20
>>=20
>> >hi,
>> >
>> > i am new in visual foxpro, i am trying to get a variable,in a Text B=
>ox,the first value of this variable is space(30), and i dont want the use=
>r to be able to enter more than 30 characters. how do i do?
>> >
>> > thanks
>>=20
>> If there is a Data source then the field length is the limit. If you w=
>ant to get 'picky' there is always the Format property in the properties =
>Data Tab that you can set.
>>=20
>> HTH,
>> Tom
>
>Tom,
>
>The Data source will limit the number of characters that are saved
>allright to the table or in memory, but will not limit the number of
>characters that a user can enter in the textbox, thus giving him a false
>impression. The Maskit method described in Foxpro Advisor of this month
>really solves this problem very neatly.
>
>Marc
Try using the input mask available in the form designer.
Terry
Rooks Computing Services Inc
Terry Rooks
Software Systems Architect
Microsoft Certified Solution Developer.Net
If at first you don't succeed, then skydiving definitely isn't for you.