Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing data from date, time, boolean and number fields
Message
De
05/10/2005 12:28:22
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
05/10/2005 12:04:40
Susan Pelto
Da Vinci Seclorum, Inc.
Pueblo, Colorado, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 3
OS:
Windows '98
Database:
Visual FoxPro
Divers
Thread ID:
01056331
Message ID:
01056343
Vues:
16
>I'm using a database in VFP 3. I'm trying to pull data out of the tables into a text file. What low-level calls are there to write data from date, time, boolean and number fields in a VFP table to a file? Something similar to the FWRITE and FPUT functions.
>
>I'd like to pull all the data out at once: memo fields as well as the others.
>
>Thanks.

There are fopen(),fcreate(),fwrite(),fread(),fgets(),fputs(),fchsize(),fclose(),...
Quickest would be:
Copy to myFile.txt type delimited
but that doesn't copy memo fields (and general of course).
There are commands like "set textmerge", "set alternate".
There is VFPOLEDB which you could utilize to create an XML with memo included.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform