TZSequence Problem
Posted: 28.02.2006, 21:40
Hi... again...
So I managed transfer to ZeosDBO 6.5.1alpha
(6.1.5 before).
I use Delphi 7 (using CLX), Firebird 1.5.3
and ZeosDBO 6.5.1 cvs from oct. 13th.
Basicly the problem goes like this:
Sequenced fields do not work anymore,
whether I try with TZSequence components or not.
I set up everything properly (I belive so), I got error when I try to post
a new record, which says that I'm breaking primary key.
Sequnced field is also primary key.
I supposed that I don't have to put any code at
"BeforePost", but then I tried to
generate the value manualy, but no way...
Please, I'm stuck and I don't feel like going back to 6.1.5 again.
Can anyone describe shortly how to use TZSequence
and drop a few lines of code.
Why it doesn't old way, without using TZSequence?
Or... is this some known bug?
I hope someone will get to help me soon,
cause I'm in trouble now!
Thanks a lot. Best regards!
(and still... zeos rocks!)
So I managed transfer to ZeosDBO 6.5.1alpha
(6.1.5 before).
I use Delphi 7 (using CLX), Firebird 1.5.3
and ZeosDBO 6.5.1 cvs from oct. 13th.
Basicly the problem goes like this:
Sequenced fields do not work anymore,
whether I try with TZSequence components or not.
I set up everything properly (I belive so), I got error when I try to post
a new record, which says that I'm breaking primary key.
Sequnced field is also primary key.
I supposed that I don't have to put any code at
"BeforePost", but then I tried to
generate the value manualy, but no way...
Please, I'm stuck and I don't feel like going back to 6.1.5 again.
Can anyone describe shortly how to use TZSequence
and drop a few lines of code.
Why it doesn't old way, without using TZSequence?
Or... is this some known bug?
I hope someone will get to help me soon,
cause I'm in trouble now!
Thanks a lot. Best regards!
(and still... zeos rocks!)