using scenario Lazarus 0.9.31-29128 + FPC-2.4.2-20110120 + Firebird Embedded 2.1 in a Win32 environment I have following scenario:
- TZQuery which retrieves a select that is a join of three tables.
- I have an editable DBGrid tied to this TZQuery through a TDataSource.
- Whenever the user inserts or updates a register, I need to call a stored procedure to perform some comprobations and do the appropiate operation at database level.
- Using plain SQL commands in a TZUpdateSQL is not possible because I need to check for some conditions.
Code: Select all
Begin
MyStoredProc(:param1, ...);
End;
Thanks in advance for any input and best regards. :)