Search found 1891 matches

by marsupilami
20.09.2012, 13:35
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Conditional compiles for Zeos 6 and 7
Replies: 11
Views: 2538

Hello Michael, I have written components, that make use of the Zeos components. It seems, that I need to know which version of Zeos I am compiling against. Is there any constant to check, wether I compile against Zeos 6 or Zeos 7? Ich habe einige Komponenten geschrieben, die Zeos benutzen. Es schein...
by marsupilami
18.09.2012, 13:02
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Conditional compiles for Zeos 6 and 7
Replies: 11
Views: 2538

[patch_done] Conditional compiles for Zeos 6 and 7

Hello,

I am currently using some components with Zeos 6 and would like to also be able to use them with Zeos 7. Unfortunately Some Classes changed the units, where thys reside. So is there a constant defined anywhere do make some conditional compiles for this?
Best regards,

Jan
by marsupilami
06.09.2012, 18:08
Forum: 6.6 - stable
Topic: Merge queries from different DBs
Replies: 2
Views: 771

Hello jascha, I think your best option for your problem is to use TClientDataset from Delphi or TJvMemoryData from jedi or something like that. Lazarus also has a component like this. Most probably you will have to copy the records into the target Data Set by yourself. But once you fiish, everything...
by marsupilami
17.08.2012, 19:50
Forum: ZeosLib 7.0 Beta Forum
Topic: connection with ODBC string
Replies: 5
Views: 3980

Hello Henk, I have no suggestion for this problem. To me it seems like something strange is going on with the ADO-ODBC-Bridge. For testing this I would need more information about your setup - Which Database do you want to connect to (MS SQL, Sybase ASE, ...), which Version of the Database do you us...
by marsupilami
15.08.2012, 22:53
Forum: ZeosLib 7.0 Beta Forum
Topic: connection with ODBC string
Replies: 5
Views: 3980

Hello hstijnen, when I try to create an ODBC connection string for ADO it always looks somewhat like this: Provider=MSDASQL.1;Persist Security Info=False;User ID=sysdba;Data Source=Test So I suggest for you to set the following: DBsettings = "Provider=MSDASQL.1;Persist Security Info=False;User ...
by marsupilami
15.08.2012, 09:52
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] TBlobField.AsString fails with EZIBConvertError
Replies: 1
Views: 356

[patch_done] TBlobField.AsString fails with EZIBConvertError

Hello,

I tried to insert into a BLOB field in a firebird database, using an insert statement in a TZQuery object. This failed with an EZIBConvertError-Exception. To make this work, I had to do a small change which is appended as a file.
Best regards,

Jan
by marsupilami
15.08.2012, 09:43
Forum: ZeosLib 7.0 Beta Forum
Topic: [solved] Unable to use ZeosLib with multiple connections
Replies: 3
Views: 803

Hello Sorien,

which transaction isolation level did you set in the first connection component? I tried this with Firebird 2.1 and a transaction isolation of tiReadCommitted and things worked as expected.
Best regards,

Jan
by marsupilami
15.08.2012, 09:33
Forum: ZeosLib 7.0 Beta Forum
Topic: connection with ODBC string
Replies: 5
Views: 3980

Hello hstijnen,

you need to define the DSN on the computer where the program is running. The DSN in turn has to refer to the external computer where tha database server is running.
Best regards,

Jan
by marsupilami
13.08.2012, 19:17
Forum: ZeosLib 7.0 Beta Forum
Topic: [solved] Cannot perform this operation on a closed dataset
Replies: 13
Views: 26165

Hello,

The problem seems to have resolved itself somehow. :oops:
I am sorry for the trouble...
Best regards,

Jan
by marsupilami
13.08.2012, 13:14
Forum: ZeosLib 7.0 Beta Forum
Topic: [solved] Cannot perform this operation on a closed dataset
Replies: 13
Views: 26165

[solved] Cannot perform this operation on a closed dataset

Hello :) I finally have my first testproject and have a problem. In most of my Projects I use a structure similar to this: ZConnection1.Connect; ZConnection1.StartTransaction; try [do someting] ZConnection1.Commit; except ZConnection1.Rollback; end; ZConnection1.Disconnect; With Zeos 7 this raises a...
by marsupilami
27.07.2012, 16:33
Forum: ZeosLib 7.0 Beta Forum
Topic: How to detect / set VPN connection?
Replies: 2
Views: 1779

Hello hstijnen, I think this is not the scope of database connection components. As far as I know there is no common mechanism to know if a VPN connection has been made because there are a lot of different kinds of VPNs. In Windows most VPN Connections install their own virtual network card. Maybe y...
by marsupilami
12.03.2012, 23:51
Forum: PostgreSQL
Topic: Working with UTF8 encoded dbs
Replies: 15
Views: 5303

Hello pawelp,

the svn location of that code is https://zeoslib.svn.sourceforge.net/svn ... gonhugeist
the user that is working on that branch is egonhugeist

Best regards,

Jan
by marsupilami
22.02.2012, 18:19
Forum: PostgreSQL
Topic: Working with UTF8 encoded dbs
Replies: 15
Views: 5303

The only solution would be to advise the db somehow to eliminate any non win1252 charackters table by table. I think, this can only be done by an external application - get the data in unicode, eliminate all non-WIN1252-characters and write it back into the database. but that would take a serious a...
by marsupilami
21.02.2012, 18:17
Forum: PostgreSQL
Topic: Working with UTF8 encoded dbs
Replies: 15
Views: 5303

If you want to remove them from the database - that should be possible with Ansi-Delphi. But if removing the characters from the database is not an option then it will not be possible unless you use utf8-conversion functions or some kind of additional translating columns in your dataset or something...
by marsupilami
21.02.2012, 11:28
Forum: PostgreSQL
Topic: Working with UTF8 encoded dbs
Replies: 15
Views: 5303

You are right, WIN1252 is the correct codepage for a german windows. Is the contents of your database from your german customers? Or do they have different contents where the transliteration error would not occur? Zeos 7 is still in an alpha state. So if you use Zeos 7, you would have to test your a...