Search found 53 matches

by JD
17.01.2011, 20:58
Forum: 6.6 - stable
Topic: Zeos multiuser and transaction support code
Replies: 5
Views: 833

Thanks for the link, Wild_Pointer
by JD
17.01.2011, 20:15
Forum: 6.6 - stable
Topic: Zeos multiuser and transaction support code
Replies: 5
Views: 833

Sorry for the late, late response. In essence, I want to better understand how Zeos handles database transactions and how to write failsafe code for users attempting to modify the same item of data. If I understand what Wild Pointer & mdaems have said above, it would be better for me to create a...
by JD
22.07.2010, 08:00
Forum: 6.6 - stable
Topic: Zeos multiuser and transaction support code
Replies: 5
Views: 833

Zeos multiuser and transaction support code

Can anyone give me details on how Zeos handles multiuser and transaction support in a network environment? If it is possible to have some working code samples, I'd really appreciate it. I've been Googling for a while now but I'm not really satisfied with the little information that I found. Thanks a...
by JD
21.07.2010, 22:12
Forum: 6.6 - stable
Topic: Show ProgressBar with backup & restore for Firebird data
Replies: 1
Views: 717

Show ProgressBar with backup & restore for Firebird data

I need some advice concerning how to use a progressbar while backing up or restoring Firebird databases. I wrote a database application in Lazarus/FreePascal and I currently use the Firebird gbak utility whose output is displayed in a Memo field on a form while backing up or restoring my database. I...
by JD
07.09.2009, 10:43
Forum: 6.6 - stable
Topic: Zeos stored procedure "parameter mismatch" errors
Replies: 7
Views: 939

Hi, It might due to the date format, like yyyy/mm/dd or dd/mm/yyyy. The main reason I suggest to use 2001/01/01, is to find out the problem really due to date format or not. The problem is not the date format because I'm using the same date format in zeos queries without problems elsewhere. For exa...
by JD
07.09.2009, 09:59
Forum: 6.6 - stable
Topic: Zeos stored procedure "parameter mismatch" errors
Replies: 7
Views: 939

klchin wrote:Hi,

Why not try to use DateToStr( EncodeDate(2001, 01, 01) ) to
find out the format needed by firebird.
I don't understand. I thought I already tried that with the second code snippet I posted above. Can you give me more details please?
by JD
07.09.2009, 07:23
Forum: 6.6 - stable
Topic: Zeos stored procedure "parameter mismatch" errors
Replies: 7
Views: 939

Unfortunately, I'm still getting the same error. I took your advice & introduced the EncodeDate function in two seperate tests: a) passing the parameters as dates to a stored procedure with date parameters ParamByName('DEBUT_PERIODE').AsDate := EncodeDate(2009, 04, 01); ParamByName('FIN_PERIODE'...
by JD
06.09.2009, 18:37
Forum: 6.6 - stable
Topic: Zeos stored procedure "parameter mismatch" errors
Replies: 7
Views: 939

Zeos stored procedure "parameter mismatch" errors

I have written some pascal code to restrict results retrieved from a Firebird 2.1 table based on a start date and an end date. I am having problems passing string parameters to a Firebird stored procedure that fetches these results using ZeosLib components. The stored procedure with string parameter...