Discussion:
VFP and windows sheduler
(too old to reply)
news.spidernet.net
2005-04-21 07:15:58 UTC
Permalink
is there any way to shedule a report to run on a specific time?
i dont want to create un executable only for one report
i need the user to decide which report and what time to shedule and also
multible shedules for the same report


George Malekkos
Lee Mitchell
2005-04-21 17:49:59 UTC
Permalink
Hi George:

Windows Scheduler will not run a report without VFP being installed or an
executable and the runtime files. So you need an exe in any case.

I suggest you create a form that collects the time and date the user wants
the report to run and then sets a timer in the application to print the
report at the appointed time.

I hope this helps.

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP9 HAS ARRIVED!! --*
Read about all the new features of VFP9 here:
http://msdn.microsoft.com/vfoxpro/

*--Purchase VFP 9.0 here:
http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
69-4500-8bf2-3f06689f4ab3&type=ovr

Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retired Sept. 30th, 2003
Post by news.spidernet.net
is there any way to shedule a report to run on a specific time?
i dont want to create un executable only for one report
i need the user to decide which report and what time to shedule and also
multible shedules for the same report
George Malekkos
Dan Freeman
2005-04-21 20:47:00 UTC
Permalink
As Lee says, you're going to need SOMETHING for Windows Scheduler to run,
whether an EXE, BAT or CMD.

You could always write a simple program that accepts one parameter, the name
of the report:

lparameter tcReportName
REPORT FORM (tcReportname) TO PRINTER

and schedule that. <g>

And you can get as fancy as you like. You could create a report
configuration file, let the user set report parameters, and run your simple
exe (above) with the name of the configuration in that file.

Dan
Post by news.spidernet.net
is there any way to shedule a report to run on a specific time?
i dont want to create un executable only for one report
i need the user to decide which report and what time to shedule and
also multible shedules for the same report
George Malekkos
Loading...