Welcome! Log In Create A New Profile

Advanced

Converting DBF file to Hyperfile

Posted by Mitchell 
Mitchell
Converting DBF file to Hyperfile
November 25, 2008 02:31PM
Dear Windev Coders,

Using Windev 11.0, Is there any sample available here on how to convert a DBF file into HF file in RUntime?

help please.

Thanks
Fabrice Harari.pcs.crosspost
Re: Converting DBF file to Hyperfile
November 25, 2008 03:27PM
Hi Mitchell...

Available sample, no sorry... I've written one for a customer, but for
obvious reasons, the code is his property.. .But here is how it's done:

1. Preparation: Import your DBF structure in the analysis
2. Run time: Connect to your DBF file using hchangeconnection
3. Loop on reading records (query or hreadfirst/next) in the dbf file,
4. copy the information field by field from the dbf to HF record
5. Add the record in HF file

and that's all

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

More information on [www.fabriceharari.com]


Mitchell wrote:
> Dear Windev Coders,
> Using Windev 11.0, Is there any sample available here on how to convert a DBF file into HF file in RUntime?
> help please.
> Thanks
>
Message forwarded from pcsoft.us.windev
Mitchell
Re: Re: Converting DBF file to Hyperfile
November 25, 2008 06:40PM
Hi Fabrice,
Thanks a lot , It works fine now.



Regards
Mitch
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: