I have a program where I create a cursor readwrite then put into a combo as follows:
WITH THISFORM.esipageframe1.draft
.combomajorclfilter.STYLE=2
.combolawyerfilter.ROWSOURCETYPE=6
.combolawyerfilter.ROWSOURCE="sellawf.id,initials"
.combolawyerfilter.LISTINDEX=.combolawyerfilter.LISTCOUNT
.combolawyerfilter.REFRESH()
ENDWITH
later in the program I refresh the combo (in case of changes) by redoing the select into the cursor then re-executing the above code.
I get error cannot access the selected table
I put brow after the select and wait window after the .rowsource to verfiy where it was happening - is it necessary to clear the combo first? (.rowsource="" etc.?
WITH THISFORM.esipageframe1.draft
.combomajorclfilter.STYLE=2
.combolawyerfilter.ROWSOURCETYPE=6
.combolawyerfilter.ROWSOURCE="sellawf.id,initials"
.combolawyerfilter.LISTINDEX=.combolawyerfilter.LISTCOUNT
.combolawyerfilter.REFRESH()
ENDWITH
later in the program I refresh the combo (in case of changes) by redoing the select into the cursor then re-executing the above code.
I get error cannot access the selected table
I put brow after the select and wait window after the .rowsource to verfiy where it was happening - is it necessary to clear the combo first? (.rowsource="" etc.?