Subject | Re: [IBO] DataModule question |
---|---|
Author | Jason Wharton |
Post date | 2001-03-29T14:12:30Z |
> Is it better to have all IB_Query, IB_StoredProc, IB_DataSource, etc, etcit
> .... together in a DataModule ? That's the way I'm doing it now. Is
> a bad practice to have query components / datasources on forms ? Or isIt depends on how you are using the forms.
> that a dirty way of programming ?
I don't use datamodules unless I know there is only going to be one instance
of the form that uses them.
Often times I design my forms so that there can be multiple instances of
them so I put the transaction, dataset and datasource components right on
it.
HTH,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com