I am developing an application where I am using CursorAdapters and SQL passthrough for most of the data heavy lifting. I have been told that the data will be moving to a new server so all the conection info will change. With the SQL passthrough it is simple to change the connection info, I have defined it in my program and call it each time I need a connection, one line change. However, the CursorAdapters classes were created using the builder so the connection info is not so easy to get at. What is the best practice for storing and assigning the database connection info with CursorAdapters?
Keep in mind that I have only developed applications for internal use so defining where the data is located has always been simple (as long as they don't move it to a new server with a new name). I am using VFP9sp2 and the backend is SQL Server 2005. I'd like to learn the proper way to make these connections so server changes are painless, even thought they don't happen very often.
Ed
Keep in mind that I have only developed applications for internal use so defining where the data is located has always been simple (as long as they don't move it to a new server with a new name). I am using VFP9sp2 and the backend is SQL Server 2005. I'd like to learn the proper way to make these connections so server changes are painless, even thought they don't happen very often.
Ed