FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Convert DBF to ADT
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Convert DBF to ADT
Posted: Mon Nov 18, 2019 11:40 PM

I would like to create a utility that will take data in existing DBF files and create ADT files ( Advantage Database Server ), to include the construction of a Data Dictionary.

Is there an example or esiting code ( or perhaps a viable utility ) to do this ?

Thanks

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 244
Joined: Mon Jun 05, 2006 09:39 PM
Re: Convert DBF to ADT
Posted: Tue Nov 19, 2019 12:14 AM
I made a utility for this. Dbf2Advantage.exe
Download and run.

https://github.com/giovanyvecchi/tAdsGit/tree/master/Util/Dbf2Advantage
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Convert DBF to ADT
Posted: Tue Nov 19, 2019 06:32 PM

Thanks. I tried it but it failed, and I could not understand the error message.

Would you be willing to share the source so I could see how it works ?

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 244
Joined: Mon Jun 05, 2006 09:39 PM
Re: Convert DBF to ADT
Posted: Tue Nov 19, 2019 09:04 PM
Dbf2Advantage fonts are in ftp. ftp://Contrib:123@giovanyvecchi.no-ip.info:97/Dbf2Advantage.zip

To generate it you have to add tAds source: https://github.com/giovanyvecchi/tAdsGit.git
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Convert DBF to ADT
Posted: Tue Nov 19, 2019 09:10 PM

Thanks, Giovany

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces

Continue the discussion