Search found 13 matches

by darkbrain
04.03.2006, 12:21
Forum: Feature Requests
Topic: TZSequence setting value
Replies: 3
Views: 2152

Thanks i'will try
by darkbrain
27.01.2006, 20:57
Forum: Feature Requests
Topic: TZSequence setting value
Replies: 3
Views: 2152

TZSequence setting value

Hi all, i'm using TZSequence for my autoincrement fields whithout problem. Anyway i'd like to set a value for the generator, looking at the code i saw that it's not possible. I know that i can use a query to update the value but i prefer to use the component. Can you add this features? thanks, DarkB...
by darkbrain
09.01.2006, 16:35
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Blob into firebirb
Replies: 3
Views: 1450

Solved with a workaround: i've replaced

Code: Select all

Memo1.Lines.SaveToStream(Stream);
with:

Code: Select all

stream.WriteComponent(Memo1);
bye,
DarkBrain
by darkbrain
09.01.2006, 12:46
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Blob into firebirb
Replies: 3
Views: 1450

Ok they work. It's all ok if a put a DBMemo, but if i want to do it manually it's doesn't save my strings: TZTable1.Edit; Stream := TZTable1.CreateBlobStream(TZTable.FieldByName('memo'), bmWrite); try Memo1.Lines.SaveToStream(Stream); TZTable1.Post; finally Stream.Free; end; The LoadFromStream inste...
by darkbrain
08.01.2006, 13:59
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Blob into firebirb
Replies: 3
Views: 1450

Blob into firebirb

Does Blob field works on firebird? I have a TZTable with a blob field and a memo into a form. I'm trying to save and load memo's lines into/from a Blob field, but nothing happens no exception raised. It shold be the load from stream problem?

tnx,
DarkBrain
by darkbrain
04.01.2006, 15:53
Forum: 6.1.5
Topic: Firebird-1.5 & Autogenerated fields(plague of our times)
Replies: 1
Views: 999

The easyest way is to create a generator into the firebird DB (CREATE GENERATOR gen_pippo) and than use the component TZSequence plus the TZTable.


bye,
DarkBrain
by darkbrain
03.01.2006, 16:55
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: LookupKeyFields
Replies: 6
Views: 1839

To locate your line of code, download and install something like MadExcept which will trap the exception and also show you a call stack to locate the path to the exception. Thanks for your tips, it's very usefull!!! Any here is what i found: Following is the reply I got from someone at Borland abou...
by darkbrain
02.01.2006, 23:10
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: LookupKeyFields
Replies: 6
Views: 1839

I can't find it. Ah if it can help, the exception is reised in a loop and it doesn't end. Where i should look to trace the zeoslib code?

tnx,
DarkBrain
by darkbrain
31.12.2005, 13:04
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: LookupKeyFields
Replies: 6
Views: 1839

Hi DarkBrain, it should work as you described, but a little bit more information would be useful: What DB? What Version of DB? Firebird 1.5 for windows I suppose you are using ZeosLib 6.5.1? Yep, are there some patch? Where? What is your failing line of code? This is strange because my delphi7 does...
by darkbrain
30.12.2005, 19:12
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: LookupKeyFields
Replies: 6
Views: 1839

LookupKeyFields

Hi all,
are LookupKeyFields and KeyFields capable of multiple fields to obtain a primary key to search into LookupDataSet? I'm using semicolon to separete them but a EDataBaseError is raised (Field not found)

thanks,
DarkBrain
by darkbrain
28.12.2005, 12:53
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: TZConnection::AutoCommit
Replies: 3
Views: 3088

Yes it's strange also for me, and the lack of documentation doesn't help. Anyway this article helped me: http://seegernet.koolhost.de/zeosforum/kb.php?mode=article&k=6 when i start a manual transaction it's turned off automatically. In practice Autocommit can't be false, so why is here? bye, Dar...
by darkbrain
28.12.2005, 12:47
Forum: Announcements
Topic: New component: TZSequence
Replies: 3
Views: 7380

Re: New component: TZSequence

Stevie wrote: Currently only Interbase/Firebird is supported but others will follow in the near future.
Very intresting feature, but how many DBMS can handle these generators? Oracle and db2 seems ok but the others?

bye,
DarkBrain