I have the following info from my SQL view in access, I want to automate a button to create the query, can someone please help with the vba code.
Code:
SELECT CustomerT.CustomerID, CustomerT.FirstName, CustomerT.LastName, CustomerT.State
FROM CustomerT INNER JOIN ContactT ON CustomerT.CustomerID = ContactT.CustomerID;