Web Connection
Set the data folder path for my application.
I tried this "customerList" example written in help file.
SELECT company, careof as Name, address, phone ;
FROM wwDemo\TT_CUST ;
ORDER BY Company ;
INTO CURSOR TQuery
and changed the data folder path to "DATA"
SELECT company, careof as Name, address, phone ;
FROM DATA\TT_CUST ;
ORDER BY Company ;
INTO CURSOR TQuery
Do I have to put this setting in the following code block so that it can be changed via .ini file ?
*** Configuration class for the WebTestProcess Process class
DEFINE CLASS WebTestProcessConfig as wwConfig
cHTMLPagePath = "C:\inetpub\wwwroot\WebTest\"
cDATAPath = ".DATA\"
cVirtualPath = "/WebTest/"
ENDDEFINE
Thanks
Totally unrelated issues.
Standard FoxPro Path processing applies when you run a SQL query.
My preferred way to handle paths is to include any paths that I need access to for data using SET PATH TO <path> ADDITIVE
so that I don't have to worry for data locations.
The configuration setting has no bearing on a query unless you explicitly use that configuration setting (Process.oConfig.cDataPath
typically).
+++ Rick ---