Hi Tina,
I am writing an app where I want to do the same thing as you : putting static
datas on the local drive. I go further than you :
1) instead of setting the SET PATH (it can be long and it is seeked each time
you are looking for a file), I have built a class like :
DEFINE CLASS general_parameters AS Custom
standard_directory = "......" && the network directory
local_directory = "..." && the local directory
standard_database = "mydb" && standard database
local_database = "mylocaldb" && local database
....
....
PROCEDURE update_local_datas
....
ENDPROC
ENDDEFINE
and at the beginning of the app, I have something like
PUBLIC logp
logp = NEWOBJECT("general_parameters", ......)
logp.standard_directory = .....
etc ...
and I open a table using wether
USE (m.logp.standard_directory+ "thename of the freefile")
OR
USE (m.logp.standard_database+ "!mydbf")
2) VFP works fine with more than one database. So I have a 'standard' database
on the server and a local one on each client. I mean : you are not obliged to
work only with free tables on the local client.
3) I have a procedure to update the local tables from their 'mother' on the
server. It is
logp.update_local_datas()
As we need a loader for the exe, I have a loader for the static datas.
I hope it helps ...
Jean MAURICE
Grenoble - France - Europe
www.atoutfox.org
www.aedtf.org
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.