Message Box - Number of records

jempie

Registered User.
Local time
Today, 13:14
Joined
Jul 28, 2004
Messages
34
Using the TransferText function, I am exporting a table from access as a text file.

What I would like to do is have a message box appear showing the number of records that have been exported.

Can anybody help?

Thanks
 
Use the dcount function after you run the transfer to check how many rows were transfered

MsgBox DCount("[YourField]", "YourTable") & "Rows Exported"

Peter
 
that's great, thanks!
 

Users who are viewing this thread

Back
Top Bottom