Search found 11 matches

by Cigydd
02.09.2009, 18:13
Forum: 6.6 - stable
Topic: "Unknown Type: 14" error accessing bigint field
Replies: 7
Views: 2024

One, partial, solution.

When I don't need the value as a Variant and want only to test it against Null, I can use the field's IsNull property. This method doesn't generate an error. :up:
by Cigydd
01.09.2009, 09:03
Forum: 6.6 - stable
Topic: "Unknown Type: 14" error accessing bigint field
Replies: 7
Views: 2024

Thanks again.

- I'm using Zeos 6.6.5 stable. Will test on SVN if needed.
- I'm using Delphi 5 and it may be the catch (it doesn't support Variant type vtInt64; VT_DECIMAL (=14) used in ZVariant unit works but it creates an unusable Variant ("Unknown type 14")).
- QHl is TZQuery
by Cigydd
29.08.2009, 10:58
Forum: 6.6 - stable
Topic: "Unknown Type: 14" error accessing bigint field
Replies: 7
Views: 2024

Code: Select all

…
cf bigint,
…
The table is declared in Czech, the declaration is very long and I doubt it's of any use.
by Cigydd
21.08.2009, 11:08
Forum: 6.6 - stable
Topic: "Unknown Type: 14" error accessing bigint field
Replies: 7
Views: 2024

Yet another trick?

Hi seawolf, thank you very much for your efforts but it didn't work for me. Do I need to recompile Zeos after the changes? I added your recommendations and recompiled the Zdbc and ZComponent packages but still no change. Maybe another code point is still causing variant type 14 to appear as that big...
by Cigydd
20.08.2009, 16:06
Forum: 6.6 - stable
Topic: "Unknown Type: 14" error accessing bigint field
Replies: 7
Views: 2024

"Unknown Type: 14" error accessing bigint field

Hi all, I encounter the following error using ZeosLib (v. 6.6.4 and 6.6.5). In my code: if DMCis.QHl.FieldByName('CF').Value<>Null then the Value returned is shown in Delphi as "Unknown Type: 14" . An error is raised saying "Invalid variant type conversion" . The undelying data f...
by Cigydd
19.05.2009, 15:00
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Problem using non-autocommit mode
Replies: 8
Views: 6216

I have a simple question.
How do I get to and start a transaction in non-autocommit mode without an error?
(AutoCommit := False; StartTransaction => "Cannot start a transaction in autocommit mode")
by Cigydd
16.08.2008, 17:59
Forum: Feature Requests
Topic: wince
Replies: 14
Views: 5290

I wrote "today" but still didn't have the time. Now I'm on my holiday so maybe as I return to work. My apologies.
by Cigydd
06.08.2008, 15:30
Forum: Feature Requests
Topic: wince
Replies: 14
Views: 5290

OK, Sandeep, I still have a question about SQLite, I'll write you a private message (pm).

It looks like Zeos is going to work on WinCE. I'll look at the recent snapshot and try it, maybe today.
by Cigydd
06.08.2008, 07:48
Forum: Feature Requests
Topic: wince
Replies: 14
Views: 5290

A bit off-topic but hopefully still in its place:
Is the SQLite server placed on your mobile device or out of it - on a PC?
I don't know much about SQLite; we'd like to access a database storage offline that would be installed directly on the device and then copy the data to a PC DB server.
by Cigydd
06.08.2008, 07:15
Forum: Feature Requests
Topic: wince
Replies: 14
Views: 5290

Still no success

We changed our attention to the Lazarus' ODBC component. Alas, it fails to load data from a Sybase ASA9 query on WinCE. By now, we still don't have a working database access. Maybe we shall return to Zeos or write our own lightweight driver. Still it seems to be the easiest way to correct or rework ...
by Cigydd
15.06.2008, 23:36
Forum: Feature Requests
Topic: wince
Replies: 14
Views: 5290

Two more to the WinCE Club

Hello folks, our company is very interested in using Zeos on PocketPCs. If it was possible and I was successfull, I would post a patch to the Zeos code to bring it to work on WinCE. Still no success but there are some steps already made. 1) Concerning the assembler instruction . I don't know if it's...