|
-
Jun 16th, 2010, 04:28 AM
#1
Thread Starter
Addicted Member
Is it possible to run a sql query and auto generate a pdf or excel file?
Currently I have a report program, when user click, it will generate select records from MS SQL Server and a crystal report refers to the table to get the records.
Is it possible to do that automatically?
example:
every morning, execute the select record query, but how to display the report automatically?
-
Jun 16th, 2010, 04:59 AM
#2
Re: Is it possible to run a sql query and auto generate a pdf or excel file?
Yes,
Put the program in the scheduled tasks in windows
-
Jun 16th, 2010, 09:28 PM
#3
Thread Starter
Addicted Member
Re: Is it possible to run a sql query and auto generate a pdf or excel file?
 Originally Posted by Lightning
Yes,
Put the program in the scheduled tasks in windows
So means I create an exe, which will display the crystal report automatically when form load?
Then I put the exe under window scheduled task?
-
Jun 17th, 2010, 06:28 AM
#4
Re: Is it possible to run a sql query and auto generate a pdf or excel file?
You would create a task that would run the exe at a specific time.
The work would all be done by the exe...all the Windows Task Manager does is run it for you.
http://support.microsoft.com/kb/323527
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|