Gregg said:
Does anyone know if MS Access comes with a tool for batch file access to an
MDB file? I have a simple 5 field MDB and want to run queries at the shell
level.
If not, what good tools are available?
That's a rather strange question. First, an mdb file is a
Jet database (Jet is a database engine that is included in
the Access box).
The absolute best tool for interacting with a Jet (and many
other types of databases) is Access. There are other, less
powerful, tools for executing queries such as Excel, Word
and ???. However, the problem is not running a query, it is
displaying the query's dataset. An Access form is (or the
query's datasheet - yuck) is ideal for displaying the data
in a nicely formatted, controlled way.
I am certain that there are many ways to do what you ask,
but I strongly recommend that you use the batch script to
run Access and let Access run the query as a form's
RecordSource. Setting this up is relatively easy using a
command line argument to specify the form (or query - yuck).