DCount table in another db

T

Tom

Any advise/suggestions on the following would be appreciated.

A make table query is run from the current db - that table is made in a 2nd
db.

I want the user to know how many records that new table contains.

Can you use Dcount, if so how, or is there a better way?

TIA

Tom
 
S

Stefan Hoffmann

hi Tom,
Any advise/suggestions on the following would be appreciated.
A make table query is run from the current db - that table is made in a 2nd
db.
How do you create it, a code sample would be nice.
I want the user to know how many records that new table contains.
Can you use Dcount, if so how, or is there a better way?
A query could do it:

SELECT Count(*)
FROM NewTable
IN PathAndFilenameOtherMDB


mfG
--> stefan <--
 
T

Tom

Many thanks

Works perfectly

Tom

Stefan Hoffmann said:
hi Tom,

How do you create it, a code sample would be nice.

A query could do it:

SELECT Count(*)
FROM NewTable
IN PathAndFilenameOtherMDB


mfG
--> stefan <--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top