General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Rick,
This would be great. Where can I find the REGISTRY.PRG?
/Chris
>If you changed the first a bit to look like a Windows .INI file, you could use the REGISTRY.PRG to read them.
>
>[Dummy Section]
>ODBC="AppTables","user","pw"
>DCE =1
>
>>Hi all,
>>
>>I have an application where I'd like use a text file to store application setup values (ie: ODBC info and other application settings). I'd also like to setup a file that would hold data in the traditional column/row structure.
>>
>>So my setup.txt file would look like this:
>>
>>ODBC: "AppTables","user","pw"
>>DCE: 1
>>
>>My other file (table.txt) would look like this:
>>
>>Field1,Field2,Field3
>>"Record1",0,1
>>"Record2",1,0
>>
>>How would I read these values into a FoxPro table or array?
>>
>>TIA,
>>
>>/Chris
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only