UNIDAC DBF connection errors

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
belsis
Posts: 3
Joined: Mon 17 Jun 2019 11:56

UNIDAC DBF connection errors

Post by belsis » Mon 17 Jun 2019 14:40

Hello,

For a while now, I have been trying to have a stable basic connection with dbf files using TUniDAC components but I couldn’t succeed. I have am encountering some errors in different conditions.

My platform is : Win 7, Delphi XE7, Unidac Components 6.02
(I have created a sample exe and prepared my sample dbf files. I want to send them as well with the mail but I couldnt. I think I do it seperately. I would appreciate if you tell me how.)

1 - [Microsoft][ODBC Driver Manager] Invalid string or buffer length
I get this error whenever I try to connect to a dbf file wit a name longer than 16 chars (with the dot and extensiton)
(With the sample program, please try to connect to the file: NameExceedsTheLimit.dbf)

2 – Turkish characters not showing.
Even though I have read that Unidac DBF have Turkish character set support, no, Turkish characters are not showing. Is there an option I should play with?
(With the sample program, please connect and see the changed Turkish characters in the File: TRChars.dbf)
In the field ‘MAHALLE’ the values must have showed as:
YETM¦ÌB¦R EVLER MAHALLES¦ -> YETMİŞBİR EVLER MAHALLESİ
AR¦F¦YE MAHALLES¦ -> ARİFİYE MMAHALLESİ
GÍKMEYDAN MAHALLES¦ -> GÖKMEYDAN MAHALLESİ
YETM¦ÌBE̦NC¦YIL MAHALLES¦ -> YETMİŞBEŞİNCİYIL MAHALLESİ
and so on….


3 – [Microsoft][ODBC Driver Manager] Unexpected Error from External Database Driver (8961)

When I try to connect to a certain file, this error I get. I couldn’t find any clue why.
Please connect and see the changed Turkish characters in the File: PARSEL.dbf)

These are my obstinate errors so far. Couldn’t find a way to walk around them so I will be grateful if you could help.
What I also wonder is, why I get ODBC errors while I am connecting with Unidac DBF provider?


Thanks in advance.
Aslı

belsis
Posts: 3
Joined: Mon 17 Jun 2019 11:56

Re: UNIDAC DBF connection errors

Post by belsis » Tue 18 Jun 2019 11:32

As a resulf of my further searchs, I have found on that the direct dbf driver comes with the UniDAC versions released after 2017. So I have uninstalled the old versions and installed the very up to date versions I have downloaded.

But somehow it doesn't seem to have allowed me for a trial use. It states that it is the 0th day of my trial period and it gives the error of: "trial period is expired". Why would that be?

I was feeling, as it is not using the MS ODBC driver anymore, the new version would be a solution for my problems but well, I cannot try it in that case.

I would appreciate your help.
Thank you.

Stellar
Devart Team
Posts: 305
Joined: Tue 03 Oct 2017 11:00

Re: UNIDAC DBF connection errors

Post by Stellar » Wed 19 Jun 2019 14:55

If the Direct mode is disabled in your application, UniDAC uses Microsoft dBase ODBC driver to work with DBF tables.
We can send you a nightly build of UniDAC with a prolonged trial period. In order to get the nightly build, send us a request via the e-support form. (devart.com the "Support"\"Request Support" menu)

belsis
Posts: 3
Joined: Mon 17 Jun 2019 11:56

Re: UNIDAC DBF connection errors

Post by belsis » Wed 19 Jun 2019 15:49

Hello,

Thanks for your answer.

I have after came to the understanding that my version (6.0.2) of UniDAC doesn't have the direct mode actually. So, it is always MS ODBC.

I am happy that I can try the new version, I am sending a mail there.

Thank you,
Belsis.

Stellar
Devart Team
Posts: 305
Joined: Tue 03 Oct 2017 11:00

Re: UNIDAC DBF connection errors

Post by Stellar » Thu 04 Jul 2019 14:53

Please contact us if you have any additional questions about our products.

Post Reply