Where there is a cdatapath as a property but apparently it was not loading from the ini file. I assumed this would load the variable here. Must be something Rick's got reserved for something else. In any event .... Onward and upward!
Thanks for your help.
Roy -
All settings in the INI file must match a property in your config object. See the help documentation for the wwConfig class, where it details how you would add new properties.
- Mike McDonald
Software Design of Kentucky
Inside the cwweb.ini is the follwing: I added that last line of 'datapath' This doesn't see to load and I'm unsure as to how to get it to read. Or is there a better way to provide global reference to a datapath, other than hard coding it? I'm simply just trying to get the tables open and want to make this variable as portable as possible. Thanks in advance
[Main]
TempFilePath=d:\temp\wc\
Template=WC_
TimerInterval=200
LogToFile=On
ShowStatus=On
ShowServerForm=On
SaveRequestFiles=Off
UseMTS=Off
COMReleaseUrl="http://localhost/cwweb/wc.wc?_maintain~release"
datapath=d:\vfp90\webapps\cwweb\dbfs\