Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Legacy App
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Divers
Thread ID:
00507209
Message ID:
00507220
Vues:
11
Thanks... I've already done that.. but was wondering if there was something I was overlooking that would allow me to get around not having to code for the blank array.

As it turns out, they used databases that were initially populated with records, so the array would be intitalized by SQL-Select. I was told to place a blank record in the database to start with, then code to not allow the database to have no records.

Tommy

>>What is a solution for this? I have placed code to check _TALLY, and then intialize the Array with 1 element, and placed values in the array element.
>>
>>Is there a cleaner way?
>>What would you do?
>>
>>Tommy
>
>You can dimension and initialize an array before select.
>If SQL select gets no records than foxpro wouldn't change the array.
>Otherwise the array will be filled with selected data.
Tommy Tillman A+ NetWork+ MCP
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform