FoxPro/Visual FoxPro - Generar TXT en Formato Windows

 
Vista:
Imágen de perfil de JUAN PEREZ
Val: 59
Ha aumentado su posición en 2 puestos en FoxPro/Visual FoxPro (en relación al último mes)
Gráfica de FoxPro/Visual FoxPro

Generar TXT en Formato Windows

Publicado por JUAN PEREZ (22 intervenciones) el 16/03/2021 18:03:50
Estimados, estoy creando un archivo plano, pero al crearse y verlo con el Notepadd ++ sale que esta en formato MACINTOSH, necesito que al crearse salga en formato WINDOWS

Este es mi codigo para generar TXT

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
lcFile3 = RUTA + "\" + vruc + "-" + cValor1 + "-" + VFECRESUMEN3 + "-" + VNROENVIO + ".TRD"
 
SELECT RESUMENCDPE2
INDEX ON IDDOCRESUM TO I_TRD001
GO TOP
 
lnHand3 = FCREATE(m.lcfile3)
SCAN
	TRIBUTO=TOTIMPCPE-TOTVALGRAB
	CODTRIIGV="1000"
	NOMTRIBUTO="IGV"
	CODTIPTRIB="VAT"
	= FPUTS(m.lnHand3,LTRIM(STR(idcorre,5,0))+"|"+LTRIM(CODTRIIGV)+"|"+ALLTRIM(NOMTRIBUTO)+"|"+ALLTRIM(CODTIPTRIB)+"|"+LTRIM(STR(TOTVALGRAB,12,2))+"|"+LTRIM(STR(TRIBUTO,12,2)))
ENDSCAN
= FCLOSE(m.lnHand3)
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder