Spelthorne1
Registered User.
- Local time
- Today, 10:41
- Joined
- Feb 17, 2004
- Messages
- 20
I have an make table query where i would like the users to choose a name for the table in the backup database.
Code:
Dim strtbl As String
strtbl = "WC26Apr"
Set qdf = db.QueryDefs("Backup")
strSQL = "SELECT WC16Feb.*, * " & _
"INTO & strtbl & IN & T:\data.mdb " & _
"FROM WC16Feb;"
qdf.SQL = strSQL