PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 2024 → COMMA DELIMITED FILE
COMMA DELIMITED FILE
Started by joe crevino, May, 30 2004 7:26 PM - 3 replies
Posted on May, 30 2004 - 7:26 PM
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
Posted on May, 30 2004 - 6:21 AM
Thank you .. the Extractstring is what I needed.
joe
Posted on May, 31 2004 - 12:58 AM
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
Posted on June, 01 2004 - 10:35 AM
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