Subject Re: can I use a CDM the same way as I use a DMD?
From Akshat Kapoor <akshat.kapoor@kapoorsons.in>
Date Sun, 27 Sep 2020 14:49:07 +0530
Newsgroups dbase.getting-started

On 26.09.2020 11:38, Gaetano wrote:
>
> It's for a web app, so no forms involved and most likely no reports
> either (I export the outputs to CSV format for download), but from your
> inputs, I take it that it is still advisable to use an existing DMD that
> already inherits from that CDM, even if I only use the database
> component of it for a particular routine.
>
> Thanks for your inputs Ken!

Good Afternoon Gaetano,
Can you share the custom datamodule and a datamodule built on it.

Please replace password / server name / with XXXXXX
The sql in datamodule can just be "select * from table1"

I tried but failed in designing a custom datamodule.

This is one aspect which I have not considered for how to change
database details at one place and make the change effective throughout
the app.

I would like to take a look.
Regards
Akshat