General information
Category:
Forms & Form designer
>>Bingo.. As I remove my combo box.
>>There Is No Error Message!!!
>>
>>However, After I re-write the combo box'rowsoure..
>>e.g ThisForm.cmbPayment.rowsource ="payment.code,name"
>>
>>It prompt another error ' Alias "payment" cannot find'
>>It seems. close all the tables !! How can restore it ???
>>
>>Thanks In Advance.
>
>
>your table needs to be open (with alias established) before you set
>the rowsource (or at least before you refresh or activate the form
>that refers to the rowsource).
If the rowsource of the combobox is a cursor, I always put code into the destroy event of the combobox which selects the cursor if it is not selected and then closes it. something like:
if used("xtable")
cwasin = alias()
sele (xtable)
use
if !empt(cwasin)
sele (cwasin)
endi
endi
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