Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
USE external / Internal
Message
From
27/02/2017 07:48:05
 
 
To
27/02/2017 03:36:44
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
SAMBA Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01648563
Message ID:
01648568
Views:
40
>>>I have a table a.dbf included into an EXE.
>>>Now I need to use a.DBF from HDD.
...>>
>>VFP will always open internal table first.
>>The solution is never to name internal tables with the same name as external.
>
>That's the problem. :)
>
>I think about a project hook doing an pre-compile-copy or something the like ....

Boris gave you the cleanest idea ;-)
In case there is a need to get a little dirty, create a "factory_use" function always looking outside the exe for a file(InternalName+"_extern.dbf") and if existing use that one under the alias normally assigned to internal file...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform