Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 1152 - don't understand
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00097177
Message ID:
00097818
Vues:
21
>thisform.cbocity.rowsourcetype = 2
>thisform.cbocity.rowsource = "ficity"
>thisform.cbocity.value = ficity.city
>thisform.lblcity.visible = .t.
>thisform.cbocity.enabled = .t.
>thisform.cbocity.visible = .t.
>thisform.cbocity.setfocus()
>
>*** everything works fine the first time I access this combobox. I have a button containing a method called 'newsearch'. the first few lines of code in this method are supposed are:
>
>if used("ficity")
> use in ficity **** this is where I get error 1152
>endif
>
>
>I'm not sure what I'm doing wrong here.
>
AL,

Perhaps if you tried this it may hep; in the button's cpode try this;
 THISFORM.cboCity.RowSource = ""
 if used("ficity")
    Use in FiCity
 endif
The problem may be that you are trying to close an alias that teh cobobox has in use and so you are being disallowed access to close that file.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform