I have a combo box
rowsource: selection of a table where table1.field1 = table2.field1 and table1.field2 = table2.field2 into a cursor order by field3,field4
row source type: 3 SQL statement
style: 2 drop down list
Field3 and field4 do not exist in table1
I am after the data in table2
I use a locate statement in the right click event in the list box if they want this feature. I requery the combo box and refresh. The data is filter correctly in that I only get Smiths.
There is a link in table1 to table2 that meets my criteria but many records in the table2.
This is my problem
They want the combo box to highlight or be on the record that they highlight in the list box. If it is on field3(Smith) field4(John), they want it to starts on John. It now starts on Andy, who is first in the selecton query.
I have used a locate after the combox requery statement and have found the record in the cursor but can not set the pointer there.
I hope I have explained this well enough.
Thank you.
rowsource: selection of a table where table1.field1 = table2.field1 and table1.field2 = table2.field2 into a cursor order by field3,field4
row source type: 3 SQL statement
style: 2 drop down list
Field3 and field4 do not exist in table1
I am after the data in table2
I use a locate statement in the right click event in the list box if they want this feature. I requery the combo box and refresh. The data is filter correctly in that I only get Smiths.
There is a link in table1 to table2 that meets my criteria but many records in the table2.
This is my problem
They want the combo box to highlight or be on the record that they highlight in the list box. If it is on field3(Smith) field4(John), they want it to starts on John. It now starts on Andy, who is first in the selecton query.
I have used a locate after the combox requery statement and have found the record in the cursor but can not set the pointer there.
I hope I have explained this well enough.
Thank you.