sqlexec(gnConnHandle,[exec dbo.myStoredProcedure ?Parm1,?parm2],[myResultSet])2. We create a connection to the database via DSNLess String Connection so we don't have to configure/maintain any odbc settings.
gnConnHandle=SQLSTRINGCONNECT(lcDSNless)
3. Like you are product is sold and nationwide, and previously we used Stonefield for updating our foxpro tables and indexs. Now have VPN connections to each client. Each client workstation uses a syslauncher application to check to see if there are any updates on their local server (specified directory I have access to so I can upload application changes) and then pulls them to the workstation, then launches the actual application. For updating the databases, I use a tool called SQL Compare from Red-Gate Software (red-gate.com). They are out of england, but it will compare your master database to any other sql server you have access to and create the modification scripts and run them for you. It wasn't very much money, and for $60 a year you get update and support. I think it was 399 for the actual product. But I can compare and update my clients databases in 5 minutes with it.