Search found 8 matches
- 03.10.2011, 11:34
- Forum: MySQL
- Topic: Problem with my multy-client program
- Replies: 6
- Views: 1612
i suppose that my code is not right: // when edit ... ZConnection.StartTransaction; try dm.tbBook.Edit; dm.tbBook.FieldByName('id').AsInteger:= 10; // change key to 10, but this value already presents in the table and it will be rises an exception ... dm.tbBook.Post; except on E: Exception do begin ...
- 02.10.2011, 01:26
- Forum: MySQL
- Topic: Problem with my multy-client program
- Replies: 6
- Views: 1612
i found a problem // when edit ... ZConnection.StartTransaction; try dm.tbBook.Edit; dm.tbBook.FieldByName('id').AsInteger:= 10; // change key to 10, but this value already presents in the table and it will be rises an exception ... dm.tbBook.Post; except on E: Exception do begin ZConnection.Rollbac...
- 25.09.2011, 02:41
- Forum: MySQL
- Topic: Problem with my multy-client program
- Replies: 6
- Views: 1612
i setting a new key value manually because i need to use this value later. when i using autoincrement field for generating a new value, than i don't known what is the new value, because in one time may be several attempts to create new record i am may be wrong... is this code right for multy-client...
- 24.09.2011, 03:16
- Forum: MySQL
- Topic: Problem with my multy-client program
- Replies: 6
- Views: 1612
Mark, thank you for the answer yes, i have a problem with duplicating primary keys. i setting a new key value manually because i need to use this value later. when i using autoincrement field for generating a new value, than i don't known what is the new value, because in one time may be several at...
- 19.09.2011, 17:35
- Forum: MySQL
- Topic: Problem with my multy-client program
- Replies: 6
- Views: 1612
Problem with my multy-client program
Hello My program using 20 users at the same time and I got match errors. Many of that errors I don’t understand – like this “translate(0) …”. Can somebody advise me what I have to do with my problem? I think I have to do these things: 1) Before creating new record in table “A” I have to refresh this...
- 08.05.2011, 08:35
- Forum: ZeosLib 7.0 Beta Forum
- Topic: ZeosLib 7.0 + MySQL 5.5 + Delphi 2010 = works?
- Replies: 2
- Views: 917
ZeosLib 7.0 + MySQL 5.5 + Delphi 2010 = works?
The question: are ZeosLib 7.0 + MySQL 5.5 + Delphi 2010 working together?
- 03.04.2011, 02:52
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Locale messages
- Replies: 3
- Views: 557
- 03.03.2011, 05:06
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Locale messages
- Replies: 3
- Views: 557
Locale messages
I have changed language define parameter in Zeos.inc to {$DEFINE RUSSIAN} but after recompile, reinstall and testing i don't get messages in russian. Whats wrong?
I have delphi 2010.
I have delphi 2010.