Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass a variable value from form to .prg file
Message
From
29/01/2002 06:26:13
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00598689
Message ID:
00612061
Views:
28
Hi,Kasen K
Thank you for your replying me at some question.
I have used a cursor or array into combo box to display datas.Although the cursor/arrays have records and rowsource has been matched the name of the cursor,but it can not be displayed into the combo box.So they are insuccessfully. Why?? Please tell me!
Thank you.


Please check it!!!

&& Using Cursor
With Thisform.combobox1
*.RowSource = " "
.RowSourceType = 3 && SQL
.RowSource = "Select FIELD NAME from TABLE NAME where FIELD NAME = myVALUE into
cursor Mycursor"
.ColumnCount = 1
Endwith

&& Using array
With thisform.combobox1
.RowSourceType = 5 && Array
.RowSource = "Select FIELD NAME from TABLE NAME where FIELD NAME = myVALUE into
array Myarray"
*.DisplayValue = array.cbpo_num
.ColumnCount = 1
Endwith

Are they right ??
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform