Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fields in a listbox
Message
From
24/01/2004 13:22:54
 
 
To
24/01/2004 12:01:56
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00870195
Message ID:
00870289
Views:
25
Hello Dragan.

You took my say :). And for the GETWORDNUM( This.RowSource, 2, '.' ) (with a period, not the comma) we may also use JUSTEXT(This.RowSource) - no need for Alltrim.

Hmmmm. What if you have the RowSOurce specified as "MyTable.MyField, Field2" ? This code in the list box's init():
messagebox( JUSTEXT(This.RowSource) )
Gives you "MyField, Field2". Probably not exactly what you have in mind unless, of course, you intend to use GETWORDNUM() to extract the fields from THIS string < s >.

You are, however, correct about the fact that the ALLTRIM is superfluous < s >.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform