Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox Hell
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Listbox Hell
Divers
Thread ID:
00258309
Message ID:
00258309
Vues:
48
Someone please help! I created a list box on my form using the listbox builder. It is based on the clients table.

Bound column = 1
Bound to = .F.
Number of Elements = 0
Rowsource = clients.clientcode, clientname, tabledir
rowsourcetype = 6 - fields

It fills the listbox just fine. When I go to use the data selected by the user, it's a mess.

I have the user select a client in the list box (or multiple clients) and then hit a command button to process the data based on clients selected.

The button has one command: Do RunRpt. The first line of code in the runrpt program says ListCnt = 0. This is supposed to be used as a counter to loop through the listbox items. As soon as the program hits this line, I get "Cannot Access Selected Table." If I go into the debugger at this time and look at Thisform.listclients.list(anynumber) it is blank. It seems to lose all knowledge of ever being filled.

I'm going crazy. Of course I needed to have this done yesterday. Any help would be greatly appreciated.

Thanks.

Jill
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform