Re: how closing open dbf file?
- From: "swdev2" <wsanders@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 27 Mar 2008 10:44:28 -0600
OK - Third Thought, now that I've re-read your post a few times.
So you got a vfp-compiled app that generates this file, you run this exe on
the task scheduler in a computer.
As is, it over writes the file each time. It fails because your users have
the same file open.
I suggest you change your program a bit -
1. generate a unique file name.
2. pass the unique file name to some other program.
this'other program' will
1. clear all file locks and connections on the current file.
2. copy the newly generated file (name given during invocation as
parameter) to the current production area.
What are your thoughts?
--
===================
William Sanders / EFG VFP / mySql / MS-SQL
www.efgroup.net/vfpwebhosting
www.terrafox.net www.viasqlserver.net
"Patrick Tura" <patrick@xxxxxx> wrote in message
news:9C6F6992-9DBC-4BBA-B0C4-484C4AFDE293@xxxxxxxxxxxxxxxx
Hi!of
I have a freetable that is open by more than one users to look at result
thier performance.on
I wanted this table to be updated every hour in our server but however, if
somebody is keeping this freetable file open my sql query that will save
and update the result into freetable cannnot overwrite the .dbf file while
it is open.
cannot overwrite freetable file(.dbf)
I need to close this freetable before starting my sql-query to be able to
update the freetable every hour...
Anybody, can help me.
Our server is Windows Server 2003. I have my foxpro sql-query prg running
schedule...
Thanks.
/patrick
.
- Follow-Ups:
- Re: how closing open dbf file?
- From: Patrick Tura
- Re: how closing open dbf file?
- References:
- how closing open dbf file?
- From: Patrick Tura
- how closing open dbf file?
- Prev by Date: Re: how closing open dbf file?
- Next by Date: Re: how closing open dbf file?
- Previous by thread: Re: how closing open dbf file?
- Next by thread: Re: how closing open dbf file?
- Index(es):
Relevant Pages
|