Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot access the selected table
Message
De
13/07/2001 06:42:43
Bill Drew
Independent Consultant
Chicago, Illinois, États-Unis
 
 
À
09/07/2001 09:28:30
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00526869
Message ID:
00530143
Vues:
40
>>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
Fil
Voir

Click here to load this message in the networking platform