- Fernando Leal
- PowerBuilder
- Wednesday, 8 April 2020 07:59 PM UTC
Write a file in Appenon 2019.
I am generating a file and the same one from the application generates 290 rows but when I execute the function outside the normal system circuit it generates 540 rows.
I can't find the reason why this function in a way generates certain information.
The parameters and the information to be generated in it on both sides where it is executed.
string ls_texto
ls_texto = strHeader + C_FL + strImage
uo_archivo iarc_convert
boolean ib_audit_registrar = true
string is_audit_archivo_camino = 'C:\Sistema\Produc\Imagen\Etiqueta\PCX'
string is_audit_archivo_nom = as_etiq //'Etiq2'
string is_audit_archivo_extension = 'grf'
string is_audit_archivo_col_sep = ' - '
iarc_convert = create uo_archivo
iarc_convert.is_archivo_camino = is_audit_archivo_camino
iarc_convert.is_archivo_extension = is_audit_archivo_extension
if iarc_convert.abrir_escritura(as_etiq, 1) < 0 then // Agregar filas al final
return -1
end if
iarc_convert.escribir_Ex(ls_texto)
iarc_convert.cerrar()
if IsValid(iarc_convert) then
destroy iarc_convert
end if
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.