Search found 95 matches

by sfxcc
06.02.2016, 14:37
Forum: ZeosLib 7.2 Forum
Topic: how to get the key field of a table query
Replies: 1
Views: 480

how to get the key field of a table query

how to get the key field of a table query or the constrain keys ?
by sfxcc
19.11.2014, 21:49
Forum: ZeosLib 7.0 Stable Forum
Topic: fetchrow
Replies: 2
Views: 2564

fetchrow

Im using postgres and a zquery select * from items and using fetchrow = 10 but it still loads all query rows on the open. I only want 10 rows on start up and the rest as it is needed ...


How i fetch only 10 by 10 rows ?

Any effective answer ?

Is it working ,
by sfxcc
11.11.2013, 21:00
Forum: ZeosLib 7.1 stable Forum
Topic: TZPgEventAlerter
Replies: 7
Views: 2567

Re: TZPgEventAlerter

Im using Pg 9 and i cant do it work i do events='removed';active = true after connection up and on postgres trigger ondelete procedure i do notify removed;


Its not working. can someone check this. I use Pg9 x64 and x32 libs.

Thanks,
by sfxcc
06.11.2013, 01:36
Forum: ZeosLib 7.1 stable Forum
Topic: TZPgEventAlerter
Replies: 7
Views: 2567

Re: TZPgEventAlerter

I think this is becuase zeos alwasy have a transaction started so it cant receive pgevents....
Im i correct or is missing some thing ?
by sfxcc
05.11.2013, 20:04
Forum: ZeosLib 7.1 stable Forum
Topic: TZPgEventAlerter
Replies: 7
Views: 2567

Re: TZPgEventAlerter

Any on please , does this component works at all???
by sfxcc
03.11.2013, 16:13
Forum: ZeosLib 7.1 stable Forum
Topic: Transactions
Replies: 1
Views: 572

Transactions

I have a masterTable and a detail table on postgresql, i need to inset mastertable line and the the details lines. How can i do this two tables if on fail rollback ? cached updates is for own table how can i do both be on same commit ? This to avoid convert tables to sql text because then work ... a...
by sfxcc
02.11.2013, 23:50
Forum: ZeosLib 7.1 stable Forum
Topic: TZPgEventAlerter
Replies: 7
Views: 2567

TZPgEventAlerter

How works TZPgEventAlerter because i cant do it work ?
Can you help me with a simple example.
by sfxcc
03.11.2012, 20:53
Forum: Feature Requests
Topic: TzDatasource
Replies: 3
Views: 2111

How can i get the primary key fields with Zeos ,

Can it be done a a zquery or zTable ?

Didnt find it , on paradox it works with fieldsdefs.
by sfxcc
03.11.2012, 18:33
Forum: Firebird
Topic: Error -605 *** Value Null ***
Replies: 5
Views: 2163

Yes is odd to me too but i spoke with firebird team and they said is like that.


so i solved the problem so im developing yet so i deleted all data from table and inserted again. Prob solved.
by sfxcc
03.11.2012, 16:18
Forum: Feature Requests
Topic: TzDatasource
Replies: 3
Views: 2111

TzDatasource

Can i develop a TzDatasource to trigger error events to TzDatasource. When we have a Tdatamodule used for all software we cant set error messages for specific purposes we dont know in which form we where and the "DbControls used to exec error". So can i develop a TzDatasource and you set t...
by sfxcc
03.11.2012, 12:00
Forum: Firebird
Topic: Error -605 *** Value Null ***
Replies: 5
Views: 2163

This only fails if we alter a table add a new column with null if we create new rows with null i works fine but it is a firebird way to work, so after we alter and set the new column to null we must change the value and then set it to null again.
by sfxcc
11.09.2012, 15:40
Forum: Firebird
Topic: Error -605 *** Value Null ***
Replies: 5
Views: 2163

Error -605 *** Value Null ***

ENDDATE is date and was created after the table being created and it allows nulls so it filled the colum with nulls automatic. So i want to set ENDDATE then i do : UPDATE MYTABLE SET ENDDATE=CURRENT_DATE WHERE MYID=1 Error -605 ???? ****value null**** This wasnt supposed to happen ? It should Set Ro...
by sfxcc
28.08.2012, 16:06
Forum: Feature Requests
Topic: URGENT : Error ExceptionHandlers (User's complained )
Replies: 2
Views: 1793

URGENT : Error ExceptionHandlers (User's complained )

Can you Create a variable on ZAbstractRODataset type EZDatabaseErrorClass = class of EZDatabaseError; var defaultEZDatabaseErrorClass:EZDatabaseErrorClass=EZDatabaseError; on the exceptions defaultEZDatabaseError.Create instead of EZDatabaseError.Create. So if we change the defaultEZDatabaseError va...
by sfxcc
28.08.2012, 16:01
Forum: Feature Requests
Topic: Error Exception only english
Replies: 23
Views: 5821

Can you replace the resourcestring with {DEFINE ENGLISH} {IFFDEF ENGLISH} {$I EnglishResource} var cMyErrorMessage1= rResourceErrorMessage1; var cMyErrorMessage2= rResourceErrorMessage2; var cMyErrorMessage3= rResourceErrorMessage3; var cMyErrorMessage4= rResourceErrorMessage4; var cMyErrorMessage5=...
by sfxcc
18.08.2012, 00:17
Forum: ZeosLib 7.0 Beta Forum
Topic: Before Post,Before Insert, On error
Replies: 1
Views: 479

Before Post,Before Insert, On error

Inserting a record on a table the events Before Post,Before Insert ,On error arent executed if we have required fields as null on a table , this should be triggered before even the dataset do check the required fields and raise the exception. Im trying to show my own error boxes, so i tried it on th...