Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Plain text data
Message
From
08/12/1999 19:09:56
 
 
To
08/12/1999 16:28:35
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00300606
Message ID:
00300690
Views:
16
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
Map
View

Click here to load this message in the networking platform