SQL server 2005 job agent question

Last post 08-21-2008, 9:20 AM by jasonlmc. 3 replies.
Sort Posts: Previous Next
  •  05-13-2008, 3:27 PM Post number 52784

    • Deen is not online. Last active: 12-03-2008, 10:12 AM Deen
    • Top 500 Contributor
    • Joined on 05-13-2008
    • Level 1: Deep thought

    SQL server 2005 job agent question

    Is it possible to run a vba module in access from a sql server job that's on a timer?
  •  05-30-2008, 6:32 AM Post number 57082 in reply to post number 52784

    Re: SQL server 2005 job agent question

    You'd need to take a bit more time to explain the problem, before anyone is likely to take the time to answer it! I suspect that the answer is 'Yes'
  •  06-05-2008, 4:51 PM Post number 58931 in reply to post number 57082

    • Deen is not online. Last active: 12-03-2008, 10:12 AM Deen
    • Top 500 Contributor
    • Joined on 05-13-2008
    • Level 1: Deep thought

    Re: SQL server 2005 job agent question

    Not so much of a problem as the process I currently have works fine I just would like to improve it by completely automating it.  I've done a lot of Google search and couldn't really find anything.  I have an app built using Access VBA, that uses an API called esignal desktop api (the api supports only VB and C++).  This app allows me to have a live feed to the NYMEX market so that I can get current prices for 60 Natural Gas symbols to populate a table that is then used by another vba access application and also by a web application that we use to generate pricing for our commercial deals.  Anyways, I currently have to hit a button on my form first thing in the morning to start the timer which runs the module every 5 minutes which populates a table each time.  Then I have to stop it(close the form) whenever the market closes around 3:30.  I would like to build a job in sql server that would run the module every 5 minutes on the weekdays but have not been able to find a command in SQL server that would run a module that is in Access or open the form in access which would have its own timer on it.  Sorry if this isn't clear enough it's a little tough to explain as I'm pretty new to all this.

    Thanks!

  •  08-21-2008, 9:20 AM Post number 69181 in reply to post number 58931

    Re: SQL server 2005 job agent question

    Sounds like you would need to design a SSIS package to execute a Script task.  You would have to convert your vb6 code to .NET.  I think this would work for you....Anyoneelse?
View as RSS news feed in XML