Subject | Data module question |
---|---|
Author | Francois Leemans |
Post date | 2001-06-21T12:43:06Z |
For simplicitys sake I use a datamodule where I keep my Querys and stuff.
In this data module I have a TIB_Datasource and a TIB_Query
I use those in a unit with a TIB_Grid.
This works fine.
Now when in the grid a new record is created, I want to intervien before the
insert take place.
Normally I would use the beforeInsert event of the TIB_Query.
Since the TIB_Query is not in the unit but in the datamodule, I can not use
the beforeinsert event.
How do I work around this ?
Lee
[Non-text portions of this message have been removed]
In this data module I have a TIB_Datasource and a TIB_Query
I use those in a unit with a TIB_Grid.
This works fine.
Now when in the grid a new record is created, I want to intervien before the
insert take place.
Normally I would use the beforeInsert event of the TIB_Query.
Since the TIB_Query is not in the unit but in the datamodule, I can not use
the beforeinsert event.
How do I work around this ?
Lee
[Non-text portions of this message have been removed]