Search found 16 matches

by lukezeoslib
31.05.2009, 23:37
Forum: 6.6 - stable
Topic: How to master transaction?
Replies: 5
Views: 937

Thank you, Mark. I have found the solution for my project. In fact, FB embedded suports that more connections in a program, I misread it, so gave up the pattern(one connection with more queries in different threads), and changed them to one connection with one query in a thread. I think that is a be...
by lukezeoslib
25.05.2009, 09:40
Forum: 6.6 - stable
Topic: How to master transaction?
Replies: 5
Views: 937

Thank you, Mark. After I posted this post, I realized that maybe the source of problem is multithread(several Tzquery shared one tzconnection, is there a synchronizing mechanic in zeoslib? I need to read the sources), but I am not sure whether the zeoslib is thread-safety or not. I had to use this p...
by lukezeoslib
25.05.2009, 09:18
Forum: 6.6 - stable
Topic: problem with zeosdbo-6.6.4 on winCE
Replies: 24
Views: 3003

Thank you, nicolagorlandi , I will try it later.
by lukezeoslib
25.05.2009, 04:55
Forum: 6.6 - stable
Topic: problem with zeosdbo-6.6.4 on winCE
Replies: 24
Views: 3003

I will pay more attention to this thread, because it is hard to find a free WINCE(WM) local DB file system, especially for Pascal language, But last time I used lazarus few minutes, it built a LARGE SIZE program for win32, it was terrible for me, even if I unchecked the debug msg from the project op...
by lukezeoslib
25.05.2009, 04:42
Forum: 6.6 - stable
Topic: How to master transaction?
Replies: 5
Views: 937

How to master transaction?

Hi, guys, the transaction in FB is driving me crazy. :( On top of this is the AutoCommit flag. Yes, I have read the quick guide in documentation area which has a brief explaination about it and has 4 URLs linking to 4 relative threads, but after I want over them, I was still hard to understand how t...
by lukezeoslib
25.05.2009, 04:05
Forum: 6.6 - stable
Topic: does 6.6.4-stable support firebird 2.1 fully?
Replies: 7
Views: 1105

Thanks all your reply, I have solved this problem. I used the FB SQL grammar, here is the clause: select cast(datetime as char(24)) as datetime from warninglog where ... And then, after I opened the query, I fetched the datatime as a string with this sub-clause: LeftStr(fdbquery.FieldByName('datetim...
by lukezeoslib
03.05.2009, 18:24
Forum: 6.6 - stable
Topic: does 6.6.4-stable support firebird 2.1 fully?
Replies: 7
Views: 1105

does 6.6.4-stable support firebird 2.1 fully?

my developing environment: delphi 7 + zeoslib + firebird 2.1 db (dialect=3) I saved a string '2009-01-01 00:23:32.200' to a timestamp field, it was ok, but when I used FormatDateTime('yyyy-mm-dd hh:nn:ss.zzz',FieldByName('datetime').AsDateTime)) to load datetime from field, the millisecond was lost,...
by lukezeoslib
28.02.2009, 00:04
Forum: Firebird
Topic: App's memory increase after running Insert stored procedure
Replies: 8
Views: 1034

Point to this problem, I highly recommand using fastmm4 in zeoslib's development and, developer can make a swtich in zeos.inc to turn on or off fastmm4 for compiling component.
by lukezeoslib
27.02.2009, 23:52
Forum: Firebird
Topic: I can't delete a record from fb 2.1.1 database with zeoslib!
Replies: 5
Views: 850

Sorry, it's my failure. After I could not use tztable + dbgrid to delete selected records or a record, I changed the components, I directly used the tzquery + tzupdatesql to do the same thing, it was ok. I don't know why, but I'm 100% sure that cacheupdates was set to 'false' in my demo program. I d...
by lukezeoslib
26.02.2009, 09:05
Forum: Firebird
Topic: I can't delete a record from fb 2.1.1 database with zeoslib!
Replies: 5
Views: 850

I don't know what's happened. Just 5 minutes ago, I rewrited the program, and result is ok. I am not sure where is the problem. The demo program was still a simple program. I will try to recompile the zeoslib components, because I used a simplify version(without supporting other database, just left ...
by lukezeoslib
26.02.2009, 09:03
Forum: Firebird
Topic: how can I delete records in dbgrid?
Replies: 4
Views: 700

I don't know what's happened. Just 5 minutes ago, I rewrited the program, and result is ok. I am not sure where is the problem. The demo program was still a simple program, in this time, even I called the 'dbgrid.selectrows.delete', the selected records were gone!!! I will try to recompile the zeosl...
by lukezeoslib
26.02.2009, 08:29
Forum: Firebird
Topic: I can't delete a record from fb 2.1.1 database with zeoslib!
Replies: 5
Views: 850

I can't delete a record from fb 2.1.1 database with zeoslib!

Hi, guys...I am trying to use fb 2.1.1 embed edition+ zeoslib 6.6.4 + delphi 7 in my project. Today, I tried to understand how to delete a record or many records from a dataset. Fistly, I put a tzconnection, tztable, datasource, dbgrid into my form and, then connected the database, it is ok, dbgrid ...
by lukezeoslib
26.02.2009, 08:06
Forum: Firebird
Topic: how can I delete records in dbgrid?
Replies: 4
Views: 700

Thank you, nostradumbass ...

I just wonder why I can't use the bookmark in this case?
by lukezeoslib
26.02.2009, 05:53
Forum: Firebird
Topic: how can I delete records in dbgrid?
Replies: 4
Views: 700

how can I delete records in dbgrid?

I am using fb 2.1.1 + zeos 6.6.4 + tdbgrid

After I selected multilines from the tdbgrid, I tried many way to delete the selected records, but they were still there... :(
by lukezeoslib
23.02.2009, 14:47
Forum: Firebird
Topic: None of the dynamic libraries can be found: fbclientd20.dll
Replies: 2
Views: 799

Thank you, seawolf. I have found the reason in this morning. That's the firebird's problem. I used the firebird 2.1.1 embeded edition, It might be compiled under VS2005, so when I copied the whole project directory to the clean pc, it didn't include the files such as Microsoft.VC80.CRT.manifest, msv...