Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adatabase command question
Message
From
01/10/2005 08:09:10
 
 
To
01/10/2005 08:05:22
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01055216
Message ID:
01055217
Views:
8
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform