Subject | Re: [IBO] Need to make forms "DatasetAware" |
---|---|
Author | Jason Wharton |
Post date | 2001-11-22T08:45:37Z |
Not everyone will agree but... Put the queries on your form. That's what I
do.
DataModules are for things which are global. If something is directly
related to a form, put the queries and transactions, etc. right on it.
In my apps, forms are independent objects which I keep as self contained as
possible.
FWIW,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
do.
DataModules are for things which are global. If something is directly
related to a form, put the queries and transactions, etc. right on it.
In my apps, forms are independent objects which I keep as self contained as
possible.
FWIW,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: "Marco Menardi" <mmenaz@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, November 22, 2001 12:25 AM
Subject: [IBO] Need to make forms "DatasetAware"
> Since I'm extensively using data modules as container for my queries
> and datasources, but often I need specific control inside the form of
> the dataset behaviour, wouldn't be necessary a "source" component to
> make the form DatasetEvents aware? A sort of TransactioSource that has
> the same IB_Query events and that are triggered by the events of the
> linked dataset? (so the form can react to AfterInsert, AfterPost,
> etc.).
> Maybe is not too difficult to be made, but there must be a much better
> knowledge of IBO than mine...
> What's your opinion? Any volunteer?
> Thanks
> Marco Menardi