Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Initialize an empty array for a listbox
Message
De
30/03/2004 12:30:52
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Initialize an empty array for a listbox
Divers
Thread ID:
00890882
Message ID:
00890882
Vues:
41
VFP 7, array is property of the form.

I am trying update an application and want to create a list box which is populated by an array for a SQL select command. The first time it is used it is empty and it displays ".F." which make sense since there is nothing to display yet. The problems:

1. not a good thing for users to see so I would like to display a blank line.
2. I assume it is related to fact that there is no array, but if I try to add to the array I get an array out of bound message.

What is the best way to avoid both problems.

TIA for any help.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform