Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using alltrim in property control source = sub.sub_title
Message
From
25/02/2003 16:38:22
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00757801
Message ID:
00757818
Views:
19
>how can i use the alltrim while saving data.
>
>I am using the control sourse property for all the fields to save the data for example
>control source = sub.sub_title
>
>so now when i save a information to the table's field it is being saved "abc "
>
>so it is also saving the empty spaces on the right side of data to the table.
>
>the problem is when i put my cursor onto that field the cursor is appearing after those spaces and again i need to do a back space.
>
>Is there a way i can use the all trim also thru the properties window.
>
>
>Thank you.

FoxPro fields are a fixed width, so even if you ALLTRIM() the value, you'll still be saving the spaces at the end.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform