DBFMDX RDD for HMG 3.4.3
Moderator: Rathinagiri
DBFMDX RDD for HMG 3.4.3
Greetings everyone!
I had used Clipper 5.2e way back in the 1990s, and stumbled upon HMG about a couple of years ago. I am totally a novice as far as HMG is concerned.
I installed HMG 3.4.3 on a Windows 10 64-bit machine and am working on a simple application to open a DBF with MDX index which will be the rowsource for a Grid. The following lines in my code generate errors decribed below:
1) Declaration section: REQUEST DBFMDX -> Linker .. undefined reference to `DBFMDX`
2) Main.prg: RDDSETDEFAULT("DBFMDX") -> Linker Error: Referenced, missing but unknown function DBFMDX(
I am aware that in Clipper 5.2e I have to link DBFMDX.lib when I issue the REQUEST DBFMDX statement and set DBFMDX as the Default RDD . How do I do the same under HMG 3.4.3 ? It appears that HMG has native support only for DBFNTX. Where can I find the DBFMDX RDD compatible with HMG 3.4.3 ?
Would greatly appreciate any guidance or help in this regard. Many thanks in advance.
Best Regards,
Sam
I had used Clipper 5.2e way back in the 1990s, and stumbled upon HMG about a couple of years ago. I am totally a novice as far as HMG is concerned.
I installed HMG 3.4.3 on a Windows 10 64-bit machine and am working on a simple application to open a DBF with MDX index which will be the rowsource for a Grid. The following lines in my code generate errors decribed below:
1) Declaration section: REQUEST DBFMDX -> Linker .. undefined reference to `DBFMDX`
2) Main.prg: RDDSETDEFAULT("DBFMDX") -> Linker Error: Referenced, missing but unknown function DBFMDX(
I am aware that in Clipper 5.2e I have to link DBFMDX.lib when I issue the REQUEST DBFMDX statement and set DBFMDX as the Default RDD . How do I do the same under HMG 3.4.3 ? It appears that HMG has native support only for DBFNTX. Where can I find the DBFMDX RDD compatible with HMG 3.4.3 ?
Would greatly appreciate any guidance or help in this regard. Many thanks in advance.
Best Regards,
Sam
- mustafa
- Posts: 1158
- Joined: Fri Mar 20, 2009 11:38 am
- DBs Used: DBF
- Location: Alicante - Spain
- Contact:
Re: DBFMDX RDD for HMG 3.4.3
Hi samba
View
REQUEST DBFCDX , DBFFPT , DBFDBT
RDDSETDEFAULT( "DBFCDX" )
Regards
Mustafa
View
REQUEST DBFCDX , DBFFPT , DBFDBT
RDDSETDEFAULT( "DBFCDX" )
Regards
Mustafa
Re: DBFMDX RDD for HMG 3.4.3
Hi Mustafa,
Thanks for your quick response. I am looking for DBFMDX. Anyway, are these libraries already in the HMG ? Don't I need to link these libraries explicitly ?
Best Regards,
Sam
Thanks for your quick response. I am looking for DBFMDX. Anyway, are these libraries already in the HMG ? Don't I need to link these libraries explicitly ?
Best Regards,
Sam
Best Regards,
Sam
Sam
Re: DBFMDX RDD for HMG 3.4.3
Hi Sam,
Please take a look for the following message from Harbour guru Przemek Czerpak at
https://groups.google.com/forum/?fromgr ... WpotPVxnEJ
The short version is:
Harbour has never supported MDX index format.
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Re: DBFMDX RDD for HMG 3.4.3
Hi Grigory ,
Thanks for the link and the clarification that Harbour does not support DBFMDX.
Is there any way I can create a HMG compatible DBFMDX driver file (.a file) from the DBFMDX.LIB found in Clipper 5.2e ? Or are there any third party ones available as far as you know ?
Best Regards,
Sam
Thanks for the link and the clarification that Harbour does not support DBFMDX.
Is there any way I can create a HMG compatible DBFMDX driver file (.a file) from the DBFMDX.LIB found in Clipper 5.2e ? Or are there any third party ones available as far as you know ?
Best Regards,
Sam
Best Regards,
Sam
Sam
Re: DBFMDX RDD for HMG 3.4.3
Hi Everyone,
I understand that there is no native support in Harbour & HMG natively for MDX index format. Is there any possibility at all of using MDX index in HMG - may be by using any third party driver ? Would appreciate any guidance.
I understand that there is no native support in Harbour & HMG natively for MDX index format. Is there any possibility at all of using MDX index in HMG - may be by using any third party driver ? Would appreciate any guidance.
Best Regards,
Sam
Sam
Re: DBFMDX RDD for HMG 3.4.3
If DBFMDX dbf files format is the same as DBFCDX, you can create new indexes
- dragancesu
- Posts: 921
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
Re: DBFMDX RDD for HMG 3.4.3
It's dBase IV
Wikipedia say:
dBase uses .ndx files for single indexes, and .mdx (multiple-index) files for holding between 1 and 48 indexes. Some xBase languages such as VP-Info include compatibility with .ndx files while others use different file formats such as .ntx used by Clipper and .idx/.cdx used by FoxPro or FlagShip. Later iterations of Clipper included drivers for .ndx, .mdx, .idx and .cdx indexes.
Wikipedia say:
dBase uses .ndx files for single indexes, and .mdx (multiple-index) files for holding between 1 and 48 indexes. Some xBase languages such as VP-Info include compatibility with .ndx files while others use different file formats such as .ntx used by Clipper and .idx/.cdx used by FoxPro or FlagShip. Later iterations of Clipper included drivers for .ndx, .mdx, .idx and .cdx indexes.
Re: DBFMDX RDD for HMG 3.4.3
Thanks. I can do that. But the DBF and MDX files belong to an application not under my control; I want to use those DBF files in my HMG application and ensure that the related MDX index files are open & updated right away if any key column value is modified in my application. That's why I am looking for DBFMDX driver.
Best Regards,
Sam
Sam
Re: DBFMDX RDD for HMG 3.4.3
Thanks. Yes, indeed Clipper 5.2e (for example) did come with .mdx driver. But this driver has not been ported to Harbour / HMG. I have been searching if DBFMDX.LIB included in Clipper 5.2e could somehow be converted to LIBXXXX.A compatible with HMG, but no success so far.dragancesu wrote: ↑Tue Mar 12, 2019 7:52 am It's dBase IV
Wikipedia say:
dBase uses .ndx files for single indexes, and .mdx (multiple-index) files for holding between 1 and 48 indexes. Some xBase languages such as VP-Info include compatibility with .ndx files while others use different file formats such as .ntx used by Clipper and .idx/.cdx used by FoxPro or FlagShip. Later iterations of Clipper included drivers for .ndx, .mdx, .idx and .cdx indexes.
Best Regards,
Sam
Sam