Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Populate data thru query in list box
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00663425
Message ID:
00664028
Views:
18
Nick Thank you very much it is working.

Can you tell me how i can concatenate the first five fields and show them in one single column and the last remaining field in second column.

In the properties window of list box i wrote this:

columncount = 2
columnwidth = 240,240

this is the code i am using which you have sent.

**************code starts here**********

lcSource = "SELECT project_no,workpkg_no,sub_sec,sub_para,sub_seq,sub_title ;
FROM sub ;
WHERE sub.project_no = this.project_no.value ;
AND sub.workpkg_no = this.workpkg_no.value ;
AND DELETED() = .f. ;
ORDER BY project_no, workpkg_no ;
into cursor cSource"

WITH thisform.list1
.RowSourceType = 3 && SQL Statement
.RowSource = lcSource
.Requery()
.refresh()
.setfocus()
ENDWITH

**************END**********************

Thank you.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform