Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Message file is in use.
Message
From
20/04/1998 09:09:56
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
20/04/1998 06:01:02
Carla Silva
Http - Produtos Informaticos, Lda.
Odivelas, Portugal
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00093330
Message ID:
00093362
Views:
28
>I try to open a table in an empty work area ( use clientes in 0 ), but VFP keeps telling me that the file is in use. Yet when I use the view window to look at the work areas, I don´t see it listed.
>
>the used() and alias() return de correct information.
>
>
>Thanks
>
>Carla
Carla,
used() and alias() operate with nWorkarea or cTableAlias, not real tablename. Try with dbf() also.
use customer in 0 alias myAlias
use customer in 0  && File in use message
* Window\data session would show myAlias not customer
* used("customer") and alias() would return .f. and "myAlias"
* dbf("myAlias") would return cDrive+cPath+"customer"
For a quick check you could use "display status" to see work areas with tablenames+aliases.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform