Search found 158 matches

by sandeep_c24
01.02.2011, 23:30
Forum: ZeosLib 7.0 Beta Forum
Topic: Postgres Fields are marked ReadOnly
Replies: 4
Views: 782

I spent some time debugging it and the problem is in caused because my sql command was like

select * from Bill

but the table name is "bill". Data is retrieved but the postgres metadata sql uses "like" to get the column info and that's why the fields were marked readonly.

Sandeep
by sandeep_c24
30.01.2011, 14:03
Forum: ZeosLib 7.0 Beta Forum
Topic: Postgres Fields are marked ReadOnly
Replies: 4
Views: 782

Postgres Fields are marked ReadOnly

I am using Zeos from trunk to connect to Postgres 8.4. When I open TZquery all fields are marked as ReadOnly. I am not sure what is going, has anyone else seen this problem?

Regards

Sandeep
by sandeep_c24
21.11.2010, 22:04
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Zeos trunk Postgres "\"
Replies: 8
Views: 920

Hi Mark

Sorry my mistake, I didn't check the changes in branch, I was just using trunk.

Regards

Sandeep
by sandeep_c24
19.11.2010, 05:32
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Zeos trunk Postgres "\"
Replies: 8
Views: 920

I have changed few files to improve performance and encoding. Please have a look at these changes and if happy please commit them.

Regards

Sandeep
by sandeep_c24
19.11.2010, 04:17
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Zeos trunk Postgres "\"
Replies: 8
Views: 920

Could anyone also fix


function EncodeBYTEA(Value: AnsiString; Handle: PZPostgreSQLConnect): AnsiString;
function DecodeBYTEA(value: AnsiString): AnsiString;

in ZPlainPostgreSqlDriver to have const Value parameters.

Regards

Sandeep
by sandeep_c24
19.11.2010, 03:43
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Zeos trunk Postgres "\"
Replies: 8
Views: 920

I have found what the problem is. Following line(line number 630)

Stream := TStringStream.Create(FPlainDriver.DecodeBYTEA(GetString(ColumnIndex)));

should be

Stream := TStringStream.Create(GetString(ColumnIndex));

in file ZDbcPostgreSqlResultSet.

Sandeep
by sandeep_c24
19.11.2010, 01:10
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Zeos trunk Postgres "\"
Replies: 8
Views: 920

I have done some more tests and it seems to work ok in varchar fields but doesn't work in text(memo) fields.

Regards

Sandeep
by sandeep_c24
19.11.2010, 00:50
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Zeos trunk Postgres "\"
Replies: 8
Views: 920

[patch_done] Zeos trunk Postgres "\"

I have a table in Postgres database and one of the columns contains "\". If I use PGAdmin I can see "\" but if I read this table using Zeos I don't see "\". But if I change "\" to "\\" then I can see "\" using Zeos. I thought this problem w...
by sandeep_c24
06.10.2010, 04:04
Forum: ADO
Topic: ADO MSSQL2208 Date field
Replies: 0
Views: 1702

ADO MSSQL2208 Date field

Is anyone using Zeos ADO with MSSQL2008? I am working with MSSQL2008 and Date fields are interpreted as WideStringFields in Delphi 2006.

Has anyone else encountered this/fixed it?

Regards

Sandeep
by sandeep_c24
11.01.2009, 06:34
Forum: Off Topic
Topic: DBMaster beta 2 released
Replies: 0
Views: 21610

DBMaster beta 2 released

We have released Beta 2 of DBMaster. This version has several bug fixes and scripting support has been added.

It uses Zeos to connect to the database engines.

There is not time restriction on this version.

For more information go to http://www.10thdoor.com

Regards

Sandeep
by sandeep_c24
31.10.2008, 10:06
Forum: ADO
Topic: Lazarus, Zeos and Ms Access (mdb)
Replies: 24
Views: 19165

There is support for ADO in Zeos but it is only available in Delphi.

Sandeep
by sandeep_c24
30.10.2008, 05:55
Forum: ADO
Topic: Lazarus, Zeos and Ms Access (mdb)
Replies: 24
Views: 19165

I think you cannot connect to Access database from Lazarus as protocol ADO is not supported in Lazarus/Zeos.

Regards

Sandeep
by sandeep_c24
24.09.2008, 05:00
Forum: PostgreSQL
Topic: Backslash in Sql
Replies: 0
Views: 472

Backslash in Sql

I am trying to execute the following command in TZQuery update TableA set FieldA = 'a\s' where FieldID = '5' but the record in database is not updated. If I get all the records in this table and then edit it in TDBGrid then the record is updated. Is this a bug or am I doing something wrong? Regards ...
by sandeep_c24
21.09.2008, 04:30
Forum: 6.6 - stable
Topic: Commercial use for ZEOSDBO-6.6.3-stable
Replies: 1
Views: 622

You can use Zeos in commercial applications.

Regards

Sandeep
by sandeep_c24
21.09.2008, 04:29
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Collecting Success Stories!
Replies: 2
Views: 1068

We use Zeos in all our applications. We have a multi-tier accounting system with add-on modules for Produce, Seafood, etc industries. So far we have deployed this app on Postgres, MSSQL2005 and Firebird. We also have a web app built using Intraweb and Zeos. This solution is sold in New Zealand and A...