Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trim size of field in combo
Message
From
18/08/2004 21:44:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
18/08/2004 21:16:08
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00933997
Message ID:
00934345
Views:
21
>yes sir, i just did. unfortunately, putting values in these properties does not solve my problem. i wonder if i can specify a field size in my select statement?
>
>but i do not know at run time the lenght of the records of table comments.

For some purposes, it may be convenient to use a fixed size. You can for a fixed size with padr().

For example, padr(MyMemo, 100) will select 100 characters from each memofield. If there are less characters, it will be filled with spaces. If there are more, it will be cut at 100.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform