Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 5.0 Listbox Column Separator
Message
From
15/01/1999 05:22:21
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00176259
Message ID:
00176366
Views:
27
Hi Wayne,
This works for me:
RowSourceType = 6 && Fields
RowSource = alltrim(prempy.clname)+", "+alltrim(prempy.cfname),cempno

Is that what you meant?


>I am trying, without success, to use the Rowsource property of the standard list box in visual foxpro 5.0 and have 2 columns populated, only the first needs to be visable.
>
>Property Assignments being used are:
>
>.ColumnCount = 2
>.RowSourceType = 2 && Alias -- Was 6 - fields
>.RowSource = 'AllTrim(' + lcPrefix + This.mcSourceTable + "." + Field(1) + lcSuffix + ' )' + Chr(9) + This.mcSourceTable + '.Seq_num'
>
>
>This works without error but the separator, Chr(9), doesn't seem to have any effect. I can't see anything in my second column. I have tried this same statement with the alias-2 and field-6 Rowsource property types with the same results. If I replace the Chr(9) with a comma I get a field reference error ( "field" phrase is not found (Error 1130) ).
>
>Does anyone have any idea or sulution ????
Best
Dave
Previous
Reply
Map
View

Click here to load this message in the networking platform