Aborting a report preview after one hour

2014-09-11 Thread Jean MAURICE
Hi everybody, I am working with a customer app written with VFP8. We had a 'bug' preventing us to do the night backup : someone has left his app opened in a report preview before leaving. So the tables were opened ... Have we a way to abort the report preview window after a timer (one hour

RE: Aborting a report preview after one hour

2014-09-11 Thread Darren
What I have done in the past is bind an event to windows messaging - dump a file in a folder - event then fires and vfp goes through shutdown whatever that may be in your application. My framework handles that fairly gracefully and gives a 10 minute warning to any users to that the application is

RE: Aborting a report preview after one hour

2014-09-11 Thread Darren
Apologies - double reply - must have clicked on Reply - All -Original Message- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Darren Sent: Thursday, 11 September 2014 9:29 PM To: profoxt...@leafe.com Subject: RE: Aborting a report preview after one hour What I have

Naptime (was: Re: Quickest Search)

2014-09-11 Thread Gene Wirchenko
At 09:35 2014-09-10, Bill Anderson billan...@gmail.com wrote: (NapTime) I did some research on this...after all, this vital detail was somehow missed by all the Hacker's Guide books... Gasp! No! [snip] However, there is zero indication that NapTime is an actual reserved word. It's

Re: Naptime (was: Re: Quickest Search)

2014-09-11 Thread Ted Roche
On Thu, Sep 11, 2014 at 3:02 PM, Gene Wirchenko ge...@telus.net wrote: At 09:35 2014-09-10, Bill Anderson billan...@gmail.com wrote: (NapTime) I did some research on this...after all, this vital detail was somehow missed by all the Hacker's Guide books... Gasp! No! Hard as it is

Re: Aborting a report preview after one hour

2014-09-11 Thread AndyHC
Would it help to use cursors for reports? On 11/09/2014 11:57, Jean MAURICE wrote: Hi everybody, I am working with a customer app written with VFP8. We had a 'bug' preventing us to do the night backup : someone has left his app opened in a report preview before leaving. So the tables were

Re: Aborting a report preview after one hour

2014-09-11 Thread Ken Dibble
I am working with a customer app written with VFP8. We had a 'bug' preventing us to do the night backup : someone has left his app opened in a report preview before leaving. So the tables were opened ... Have we a way to abort the report preview window after a timer (one hour for example) ?

Re: Aborting a report preview after one hour

2014-09-11 Thread Eurico Chagas Filho
If the data used in the report is shared u should have no problem backing it up. E. On Thursday, September 11, 2014 8:42 PM, Ken Dibble krdib...@stny.rr.com wrote: I am working with a customer app written with VFP8. We had a 'bug' preventing us to do the night backup : someone has left

Re: Naptime (was: Re: Quickest Search)

2014-09-11 Thread Bill Anderson
Ted, We can both come up with many dBase compatible commands (say, SET SQL ON/OFF) and dBase compatible functions (PCOUNT() was better than PARAMETERS() or ID())...but I don't remember a dBase compatible PROPERTY. Bill Anderson At 09:35 2014-09-10, Bill Anderson billan...@gmail.com wrote: