gojets1721
Registered User.
- Local time
- Yesterday, 16:03
- Joined
- Jun 11, 2019
- Messages
- 430
Sorry if the title is confusing. I've got queries and code written to update a customer name table. I use a "make table" query to dump the new name changes into a temp table and then an update query takes those changes in the temp table to update the actual table.
Everytime I run the VBA for this, the temp table gets dropped into the "unassigned objects" folder. Not a huge deal but I prefer every thing saying tidy on the sidebar. Any way to fix that? Here's the VBA Code I use to run all the queries.
Everytime I run the VBA for this, the temp table gets dropped into the "unassigned objects" folder. Not a huge deal but I prefer every thing saying tidy on the sidebar. Any way to fix that? Here's the VBA Code I use to run all the queries.
Code:
Private Sub CommandNames_Click()
Dim wdShell As Object
On Error GoTo ImportIt_Err
DoCmd.SetWarnings (WarningsOff)
DoCmd.OpenQuery "qryNamesFixes"
DoCmd.OpenQuery "qryNamesChanges"
DoCmd.OpenQuery "qryCapsFix"
StrResponse = MsgBox("Process Complete!")
ImportIt_Exit:
Exit Sub
ImportIt_Err:
MsgBox Error$
Resume ImportIt_Exit
End Sub