Search found 12 matches

by krluigo
18.01.2006, 21:48
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Default values on new record
Replies: 6
Views: 1528

change the TZAbstractRODataset.DoOnNewRecord (in ZAbstractRODataset.pas) for the using of TField.DefaultExpresson: procedure TZAbstractRODataset.DoOnNewRecord; var I: Integer; MasterField, DetailField: TField; Temp: Int64; // start new code vStr : String; function StringInArray(const pStr : String; ...
by krluigo
07.12.2005, 16:26
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Problem: I use domain on Postgres 8.1 with latest ZeosLib
Replies: 11
Views: 2058

I use the 2005/09/26 CVS version by TZPostgreSQLConnection.GetTypeNameByOid() in ZDbcPostgreSql.pas & this working... function TZPostgreSQLConnection.GetTypeNameByOid(Id: Oid): string; var I, Index: Integer; QueryHandle: PZPostgreSQLResult; SQL: PChar; TypeCode, BaseTypeCode: Integer; TypeName: ...
by krluigo
06.12.2005, 11:56
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Problem: I use domain on Postgres 8.1 with latest ZeosLib
Replies: 11
Views: 2058

How work TZAbstractRODataset.InternalInitFieldDefs?!?!??? procedure TZAbstractRODataset.InternalInitFieldDefs; var I, J, Size: Integer; AutoInit: Boolean; FieldType: TFieldType; ResultSet: IZResultSet; FieldName: string; FName: string; begin FieldDefs.Clear; ResultSet := Self.ResultSet; AutoInit := ...
by krluigo
02.12.2005, 13:23
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Problem: I use domain on Postgres 8.1 with latest ZeosLib
Replies: 11
Views: 2058

I create above domain: CREATE DOMAIN "public"."Str100" AS varchar(100) NULL; I create table with 2 fields (one field type is domain): CREATE TABLE "public"."Test" ( "field1" "public"."Str100", "field2" INTEGER ) WITH OID...
by krluigo
30.11.2005, 15:33
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Problem: I use domain on Postgres 8.1 with latest ZeosLib
Replies: 11
Views: 2058

I think this type oid > 10000 (my cause value is 16681), and this is the problem...., or i don't know see the code (initialize only oid < 10000!): function TZPostgreSQLConnection.GetTypeNameByOid(Id: Oid): string; var I: Integer; QueryHandle: PZPostgreSQLResult; SQL: PChar; TypeCode: Integer; TypeNa...
by krluigo
30.11.2005, 15:06
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Problem: I use domain on Postgres 8.1 with latest ZeosLib
Replies: 11
Views: 2058

aperger wrote:Szia/Hello,

You can download the CVS version with WinCVS, this version contain some bugfix and support 8.1 not only 8.x., so... this version is better! Looks me :-)

Attila
Hi,

I try yet (from :pserver:anonymous@cvs.sourceforge.net:/cvsroot/zeoslib), but unfortunately still not working.

Lui
by krluigo
29.11.2005, 23:17
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Problem: I use domain on Postgres 8.1 with latest ZeosLib
Replies: 11
Views: 2058

Problem: I use domain on Postgres 8.1 with latest ZeosLib

Greetings all,

I use Postgres 8.1 with latest (13/10/2005) ZeosLib 6.5.1.-alpha.

I have a problem: use domain (example: CREATE DOMAIN "Str100" AS varchar(100) NULL;), and i do not know to use fields - which this type created - in the Zeos (not initialized as Field in ZDataSet).

Lui
by krluigo
19.10.2005, 17:04
Forum: User Patches
Topic: :idea: MacroQuery implementation - Patch
Replies: 4
Views: 2878

Macros handling in Query (MacroByName)

Sorry a little information. This is like as TPSQLMacroQuery (PostgresDac), TgbDataSet (gb_DataSets), etc....., namely Macros handling in Query (MacroByName)
by krluigo
17.10.2005, 22:58
Forum: User Patches
Topic: :idea: MacroQuery implementation - Patch
Replies: 4
Views: 2878

:idea: MacroQuery implementation - Patch

login & download the TZMacroQuery component
:idea:
by krluigo
17.10.2005, 22:53
Forum: Feature Requests
Topic: MacroQuery implementation?
Replies: 2
Views: 1810

Implementation: see in the User Patches

Implementation: see & download in the User Patches:

:idea:
by krluigo
11.10.2005, 20:11
Forum: Feature Requests
Topic: MacroQuery implementation?
Replies: 2
Views: 1810

MacroQuery implementation?

:roll:
by krluigo
11.10.2005, 20:06
Forum: User Patches
Topic: OEMConvert doesn't work on Locate
Replies: 0
Views: 1703

OEMConvert doesn't work on Locate

My Solution: 1. step: make the TZAbstractRODataset.Options property to published or public (originally this is protected) 2. step: modify the ZDatasetUtils.CompareFieldsFromResultSet function: uses ...., Windows, ..... function StrToOem(const AnsiStr : String) : String; begin SetLength(Result, Lengt...