Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Plain text data
Message
 
À
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:
00300626
Vues:
14
>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

There must be 14 different ways from Sunday to do this. Try starting with APPEND FROM or IMPORT and going from there. You can use low level functions or a variety of other tools. But if you start with APPEND FROM, help should lead you in the right direction.
Michael Helms

May the Schwartz be with you.<(©¿©)> -- Mel Brooks
"Someday, and that day may never come, you will be called upon to perform a service" -- Vito Corleone
"Live like there is no tomorrow, Dance like no one is watching, Love like you've never been hurt." -- Anonymous
"I'm thinking about joining the campaign for shorter tag lines." -- Me
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform