Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mal generación de archivo TXT en Windows XP
Message
From
15/10/2003 16:02:06
 
 
To
15/10/2003 14:53:01
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00839006
Message ID:
00839029
Views:
28
>Hola, tengo un programa que extrae datos de las DBF para una bandeja TXT.
>Los campos del archivo TXT van separados con TABS (chr(9)) en WIN95/98/2000,
>lo genera todo bien, en XP no adjunto el ejemplo:
>WIN95/98/2000
>
>Fecha Documento
>01/08/2003 A-20002
>01/08/2003 A-30000
>
>en XP:
>
>Fecha Documento
> / / 0-
> / / 0-
>
>porque se podría dar esta situación ???
>Sinceramente no encuentro explicación alguna.
>Les agradecería muchísimo alguna orientación al respecto.


Que significa "extrae datos de las DBF para una bandeja TXT" ?
El ejemplo que das suena como leer (importar) de TXT a DBF.

Que sucede en este caso:
#define CRLF Chr(13)+Chr(10)
cString = "01/08/2003" + Chr(9) + "A-20002" + CRLF + "01/08/2003" + Chr(9) + "A-30000" + CRLF
StrToFile(cString, Sys(2023) + "\junk.txt")
Create Table (Sys(2023) + "\junk") ;
(fecha d, document c(7))
Append From (Sys(2023) + "\junk.txt") DELIMITED with TAB
Browse


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform