L
LarryP
I have an audit DB with information we don't want most
people to be able to edit; we have that worked out with a
combination of Access and network workgroup tricks that
let them look-but-not-touch.
THE PLOT THICKENS: After people open this database and
look at their audit results on-screen, we've provided a
way for them to export their results to a separate
database where they can input their responses. We have
this working fine by (1) exporting the working table to a
template database, overwriting the same-name table that's
already there, and then (2) copying the template database
(which now contains their "stuff") to their local c:\
drive.
PROBLEM: People being people, users were finding the
template database file on the network, opening it, and
trying to use it to input their responses, even though the
information it contained might not be theirs at all. For
the moment we've beaten that problem by storing that file
in an obscure corner of our network where they're unlikely
to stumble across it unless they're clued in to the Access
linked table manager, etc.
SO FINALLY, MY QUESTION: Anybody know a way to export a
table directly to a totally new, code-created database
file, so we can dispense with the intermediate "template"
part of this? I've thought about it a bit, but can't get
around the fact that the newly created DB would have to
have a compatible TableDef to receive the contents of the
working table. Any help welcome.
people to be able to edit; we have that worked out with a
combination of Access and network workgroup tricks that
let them look-but-not-touch.
THE PLOT THICKENS: After people open this database and
look at their audit results on-screen, we've provided a
way for them to export their results to a separate
database where they can input their responses. We have
this working fine by (1) exporting the working table to a
template database, overwriting the same-name table that's
already there, and then (2) copying the template database
(which now contains their "stuff") to their local c:\
drive.
PROBLEM: People being people, users were finding the
template database file on the network, opening it, and
trying to use it to input their responses, even though the
information it contained might not be theirs at all. For
the moment we've beaten that problem by storing that file
in an obscure corner of our network where they're unlikely
to stumble across it unless they're clued in to the Access
linked table manager, etc.
SO FINALLY, MY QUESTION: Anybody know a way to export a
table directly to a totally new, code-created database
file, so we can dispense with the intermediate "template"
part of this? I've thought about it a bit, but can't get
around the fact that the newly created DB would have to
have a compatible TableDef to receive the contents of the
working table. Any help welcome.