>I'm deloping apps on a network. The production version of these apps are looking for data on the development drive. How do I change the path that the Form's Data Environment looks for the data?
Add code in Dataenvironment.BeforeOpenTables event
local cDbcpathname
select config && this is configuration table
go top
cDbcpathname=alltrim(config.dbcpname)
thisformset.setall("database",cDbcpathname,"cursor")
You can use this code if all DE.cursors are for dbc-tables. If you have free tables then you should modify this code to reset CursorSource properties.
Edward Pikman
Independent Consultant