Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adatabase command question
Message
De
01/10/2005 08:24:17
 
 
À
01/10/2005 08:09:10
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:
01055220
Vues:
14
>>Adatabases gives an array with all open databases.
>>
>>When I execute the following small program:
>>
>>
>>OPEN DATABASE S:\praktyk\data2005.dbc
>>nTel1	= ADATABASES(laGroep1)
>>
>>?lagroep1(1,1)    && gives data2005
>>
>>CLOSE DATABASES
>>
>>?lagroep1(1,1)    && give data2005
>>
>>
>>I thought the second array-call would give no results.
>>Do I overlook something?
>
>The array is static, and is not updated unless YOU do it.
>OPEN DATABASE S:\praktyk\data2005.dbc
>nTel1	= ADATABASES(laGroep1)
>
>?lagroep1(1,1)    && gives data2005
>
>CLOSE DATABASES
>
>nTel1	= ADATABASES(laGroep1)
>
>?lagroep1(1,1)  
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform