Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DBF to Text file
Message
De
31/12/2004 04:14:14
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
31/12/2004 02:27:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
00973493
Message ID:
00973499
Vues:
16
>Dear Sir,
>
>I have a table entitled "errors" contained following fields
>
>Date, time,errno,message,lineno
>
>I want to show only last record in text file, c:\error.txt,
>but the data of every field must show in new line for example
>
>31/12/2004
>10:00:00
>1200
>field not found
>3
>
>What should I do?
>Please help
>
>Thanks in advance
select 0
use errors
go bottom
local lnHandle,ix
lnHandle = fcreate("c:\error.txt")
for ix=1 to fcount()
  =Fputs(m.lnHandle,transform(eval(field(m.ix))))
endfor
=fclose(m.lnHandle)
use
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