Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adatabase command question
Message
De
01/10/2005 08:48:55
 
 
À
01/10/2005 08:31:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01055216
Message ID:
01055226
Vues:
16
>Hi,
>
>Hmmm. I get 0 for nTel1 (which is correct). Docs say "If no databases are open, ADATABASES( ) returns 0 and the array isn't created". Doesn't say an existing array will be destroyed in these circumstances.
>So behaviour is as expected ?
>Regards,
>Viv
>

Yes,
every AXXXXX() function work in this manner:
if none elements are founds none operations is done.

>>Tore, this not fix the issue
>>
>>try
>>
>>CREATE DATABASE TESTdata2005.dbc
>>nTel1	= ADATABASES(laGroep1)
>>
>>?lagroep1(1,1)    && gives data2005
>>
>>CLOSE DATABASES
>>
>>nTel1	= ADATABASES(laGroep1)
>>
>>?lagroep1(1,1)
>>
>>? nTel1 && look here !
>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform