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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement