Greetings,
First of all my apologies since this is going to be a somewhat lengthy post, but some explanations are needed in order for you to (hopefully) understand my problem.
I'm somewhat of a newbie here when it comes to Visual Studio. I have embarked on a project to create a web portal for Crystal Reports. The goal is to move to a browser based viewing solution instead of the current Datalink Viewer solution. I have created the main structure of the website and the pages with the individual reports (the reports are existing Crystal reports that I embed in web pages. So far, so good and I'm pretty happy with the outcome. One issue I have now is the fact that we have a handful of reports that require custom tables. These reports are currently run as FoxPro exe's (our "database" consists of a free FoxPro table directory) that create the custom tables as they are run. My first inclination was to just run a scheduled task every x minutes to refresh the custom tables that are needed. But then I thought and hoped that there would be a way to do this within VS, and every time a user refreshes the report window, the custom table would be created again with the latest data.
I have all the SQL statements that are currently used in VisualFoxpro, so that's the easy part. The problem I have is that I don't know how I would go about executing the SQL statements in VS2010 and create the needed tables.
Hopefully someone out there can help me out and point me in the right direction. Feel free to ask more question!
Thanks,
Chris