Re: [xev2] Gerar e Importar TXT

En el wiki estan los siguientes links que explican las funciones para leer archivos de texto:
Un ejemplo de código (sacado del wiki también):

  &Text = ""  &i = dfropen( "Test.txt",1024,,"")   If &I = 0      Do while dfrnext( ) = 0         &i = dfrgtxt(&Line) // The length of the line is given by the size of the variable.         &Text = &Text + Newline() + &Line      EndDo      &i = dfrclose( )  else      &Texto = "Could not open file"  EndIf
Espero que esto le sirva para leer los archivos.

Para escribirlos:

Cualquier cosa a las ordenes.

2012/6/4 Matheus <suporte@softup.com.br>

Boa tarde, estou usando GX Ev2, Web.
 
Por favor pessoal, alguém teria um exemplo de como criar um webpanel, para selecionar e/ou buscar arquivos txt em uma unidade, e fazer a leitura do mesmo para importar para uma tabela. 
  
 
 
Atenciosamente,
Matheus



--
Franklin Buitron

Popular posts from this blog

RE: [xev2] ************ Error rest? ****** #

Re: [xev2] error: ERR 212 Not enough global stack