Bye Bye Zeos
Testing SQLdb
Thank you Silvio Guedes
Search found 11 matches
- 10.03.2006, 12:25
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: error Zeoslib 6.5.1 :?
- Replies: 6
- Views: 1645
- 06.03.2006, 13:27
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: error Zeoslib 6.5.1 :?
- Replies: 6
- Views: 1645
- 13.02.2006, 14:53
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Error in field date
- Replies: 2
- Views: 810
Error in field date
My table it consists a field "DATACADASTRO TIMESTAMP NOT NULL" In the Lazarus when inserting a register I use following code: TQuery.FieldByName('DATACADASTRO').AsDateTime := Date; But when I load it the register (select * from table), to return an error because of the date that was saved....
- 21.11.2005, 10:56
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Error while execute Store Procedure
- Replies: 14
- Views: 5512
- 10.11.2005, 20:18
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Error while execute Store Procedure
- Replies: 14
- Views: 5512
tkszeos , Thank you But I am with my first error: Executing second time the ZStoredProc, return this erros: SQL Error: Dynamic SQL Error parameter mismatch for procedure CALCID_VENDEDORDETAIL. Error Code -902. Unsuccessful execution caused by a system error that precludes successful execution of su...
- 10.11.2005, 13:08
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Error while execute Store Procedure
- Replies: 14
- Views: 5512
I am obtaining results, reading the Knowledge Base: An introduction to the basic usage of ZeosLib DBOs and Firebird basics But my ZConnection is AutoCommit=True and this is my code: ZStoredProc.ParamByName('IDVENDEDOR').AsInteger := ZTable.FieldByName('IDVENDEDOR').AsInteger; ZConnection1.StartTrans...
- 10.11.2005, 12:04
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Error while execute Store Procedure
- Replies: 14
- Views: 5512
Michael
Sorry a question, but I am making this: In ZQuery1.SQL: execute procedure CALCID_VENDEDORDETAIL :idvendedor In Unit: ZQuery1.ParamByName('IDVENDEDOR').AsInteger := StrToInt(Edit1.Text); ZQuery1.ExecSQL; When I execute, returns this error: SQL Error: message length error (encountered 0, expected 8) E...
- 10.11.2005, 11:43
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: ZTable not find method
- Replies: 0
- Views: 717
ZTable not find method
It looks at the code below: [hr] uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, DBCtrls, ColorBox, ComCtrls, ExtDlgs, Calendar, EditBtn, FileCtrl, XMLPropStorage, ZConnection, ZDataset, DB, DBGrids, Menus, ActnList; ... ZTable.First; [fade] ZTable.FindRecord(TreeView.Selecte...
- 09.11.2005, 19:00
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Error while execute Store Procedure
- Replies: 14
- Views: 5512
- 09.11.2005, 12:22
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Error while execute Store Procedure
- Replies: 14
- Views: 5512
Well, I am not creating the ZStoredProc in run-time. Executing some tests I evidenced that it does not have errors in Store Procedure. Executing second time the ZStoredProc, return this erros: SQL Error: Dynamic SQL Error parameter mismatch for procedure CALCID_VENDEDORDETAIL. Error Code -902. Unsuc...
- 07.11.2005, 14:28
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Error while execute Store Procedure
- Replies: 14
- Views: 5512
Error while execute Store Procedure
While I execute my store procedure in second time, result a error.
e.g:
ZStoredProc.ParamByName('IDVENDEDOR').AsInteger := ....
ZStoredProc.ExecProc;
But if i exit the project and return, normal functioning of the SP, what I am not remembering to make?
e.g:
ZStoredProc.ParamByName('IDVENDEDOR').AsInteger := ....
ZStoredProc.ExecProc;
But if i exit the project and return, normal functioning of the SP, what I am not remembering to make?