Results 1 to 4 of 4

Thread: Is it possible to run a sql query and auto generate a pdf or excel file?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Posts
    187

    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?

  2. #2
    Frenzied Member Lightning's Avatar
    Join Date
    Oct 2002
    Location
    Eygelshoven
    Posts
    1,611

    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
    VB6 & C# (WCF LINQ) mostly


    If you need help with a WPF/WCF question post in the NEW WPF & WCF forum and we will try help the best we can

    My site

    My blog, couding troubles and solutions

    Free online tools

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Posts
    187

    Re: Is it possible to run a sql query and auto generate a pdf or excel file?

    Quote Originally Posted by Lightning View Post
    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?

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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
  •  



Click Here to Expand Forum to Full Width