Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass a variable value from form to .prg file
Message
De
29/01/2002 06:26:13
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00598689
Message ID:
00612061
Vues:
30
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 ??
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform