Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another strange listbox, or just gremlins
Message
De
24/07/1997 20:05:58
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Another strange listbox, or just gremlins
Divers
Thread ID:
00041567
Message ID:
00041567
Vues:
106
I have a listbox with an alias as the rowsource. The user can select the type of data to display in the listbox by selecting one of three radio buttons. The radio buttons re-create the cursor that is the rowsource for the listbox, and then redisplay the listbox. They do this by calling a method on the form. When I run the compiled EXE from within VFP, everything works great. However, when I run it out of VFP I get a syntax error on the line that resets the rowsource for the listbox. I have narrowed it down to one specific field that is displayed in the listbox, and can now get things to work by selecting that field AS another name. What really scares me is that the init of the form also call the method to build the listbox, and that call works even if I don't use select AS. Does anyone have any ideas how can the same code run correctly one time, and generate an error the next?

TIA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform