PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → COMMA DELIMITED FILE
COMMA DELIMITED FILE
Iniciado por joe crevino, 30,may. 2004 19:26 - 3 respuestas
Publicado el 30,mayo 2004 - 19:26
Is there a way in windev to use a comma delimited file like a hyperfile. I mean like I would use in in Clarion with a record etc. I realize indexing is out.
thank you,
joe
Publicado el 30,mayo 2004 - 06:21
Thank you .. the Extractstring is what I needed.
joe
Publicado el 31,mayo 2004 - 00:58
Hi Joe,
afaik, there's no way to use a comma delimeted file like this in WinDev.
Definition: A comma delimited file has a variable length of its 'records'. Therefore, I think, Clarion has no way to access e.g. 'record' #17 of such a file either.
Such a file with three records and three items would look like this
12,MAYER,1200.78
155,MASTERMIND,566.89
1,FIRSTNATIONAL,1406.90
You can only work on files like these with
a) HImportText(..), which allows you to convert a file with arbitrary delimiters into HyperFile format. Once the file is in HF-format you can play the game more easily ...
b) fReadLine(..) reads a line of the file and with ExtractString(..) you can get the items of the records. Again, load a HF with the records and start ..
So, if your file is of a different format, just let us know ..
Regards,
Guenter

Is there a way in windev to use a comma delimited file like a hyperfile. I mean like I would use in in Clarion with a record etc. I realize indexing is out.
thank you,
joe
Publicado el 01,junio 2004 - 10:35
Is there a way in windev to use a comma delimited file like a hyperfile. I mean like I would use in in Clarion with a record etc. I realize indexing is out.
thank you,
joe

Hello Joe,
AFAIK, only using an ODBC driver.
HTH
Raimund

http://www.invitec.com