Recently I've used ADPs in ways in which I have not previously used MDBs.
I've been encouraged to do so because of ADPs clear separation from the
data in the db, and by their ability to use MS-SQL permissions to
compartmentalize things.
1. Recently I've received requests for spin-offs from an installed
application, mostly to accommodate other departments in the same
organization who want reports based on the data input and generated by the
main application. How to do this? Include the reports in the main
operation? Well, it's sufficiently complicated as it is, and the owning
department doesn't feel so comfortable about sharing it. My solution is to
build tiny ADPs with a few reports, to set server level permissions which
allow the members of the peripheral department to execute the stored
procedures and to deliver those tiny ADPs. No danger that something one
does to facilitate these reports screws up the main application. No danger
the report users will muck up something in the main application; all they
have is an ADP with a menu bar that allows them to view and print a few
reports. In one case, where there the ADP is only one report, the ADP opens
to the report, and closes when the report is closed.
2. I've never been quite satisfied with the division among data, ui, and
business logic one gets with an Access application. But I'm experimenting
with a situation where this will be pretty clear-cut. The data is in an MS-
SQL db. The UI is a web-based ASP-html application. The application is
quite calculation intensive, in fact it exists only to provide data for the
calculation. So the calculation is done from anyone of three ADPS on three
different machines (one should do but why takes chances!). They are
programmed to examine the db every 5 minutes; if they find a switch has
been set to calculate, they turn the switch off and calculate. Since the
calculations are discreet for each user, there is no chance of overlapping.
Advantages, well it keeps the code every safe. Calculations which are
pretty intensive don't slow down the server or the user's machine. And the
calculations can be modified without disturbing the ui, or the db.
<drivel ... no point to flame me coz I'm going to be away for a couple of
weeks>
Mary: Do you want the good news or the bad news?
Bill: Give me the bad news first.
Mary: It seems a lot of the developers are too stupid, too lazy or too
ornery to learn to use ADPs.
Bill: Shit, how we gonna keep selling Access? We told these people ADPs was
the greatest thing since stealing Windoz.
Mary: That's the good news Bill. All the insiders are going to say that
MDBS with ODBC is the preferred way for Access to hook up to MS-SQl Server.
So the dinosaurs will feel vindicated and confirmed. And the cash registers
will keep-a-goin tinkle.
Bill: What about the non-insiders?
Mary: Bill, THIS IS AMERICA!
--
Lyle
--
use iso date format: yyyy-mm-dd
http://www.w3.org/QA/Tips/iso-date
--
The e-mail address isn't, but you could use it to find one.