make table from form recordset

johnLH

Registered User.
Local time
Today, 06:57
Joined
Mar 21, 2005
Messages
10
HI all

I have form containing some filtered records. What code do I need to put on a button to trigger a make-table query; the make-table thus containing only the current filtered records (not the entire database).

The following will use the entire database:

Dim stDocName As String

stDocName = "qryMakeTableCompanyID"
DoCmd.OpenQuery stDocName, acNormal, acEdit


Thanks

John
 

Users who are viewing this thread

Back
Top Bottom