We have an old CounterPoint retail software using Pervassive 7 and I use FoxPro exclusively for front end. But I hate hate hate using fox tables or any others for that matter. SQL server is just my bag I guess. Anyway I ended up moving the pervassive engine to SQL server and running the data directly from this SQL Server. I have created a dts to pull the data in and update sql tables. Works like a champ. We will use a table called 'request_update' which a process will check every 5 minutes for date changes. Then kick off the dts if true. This way I don't have to worry about clients needing to request and wait for processes. As soon as the update is finished the clients background process picks up on the change and updates the client from sql. Plus I found that DTS handles disconnecting the odbc sessions. If you are in say enterprise manager or query analyzer you have to exit to see this work. But using OPENROWSET, OPENQUERY, and/or LINKED SERVERS always stayed hung up whether I closed the session or not. (Always have to stop and restart sql engine in this case.) BUT using DTS I get the same type of clean up process that I do in Foxpro. In other words if I kick of a DTS from enterprise manager then close the odbc session in Pervassive monitor, the dts will fail unless I exit the current enterprise manager. But I tested running the DTS vis client and I never have to restart sql engine using DTS method. Sorry to ramble but I hope this could help someone who has lost hair and youth from trying to pull data together into a data warehouse. Its a witch.
Forums rule, pass it on!!!
Rob