Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>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
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