Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Plain text data
Message
De
08/12/1999 19:09:56
 
 
À
08/12/1999 16:28:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00300606
Message ID:
00300690
Vues:
17
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform