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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only