papasmurfuo9
Registered User.
- Local time
- Yesterday, 21:36
- Joined
- May 28, 2014
- Messages
- 69
Hi
please could someone tell me whats wrong with the below
im trying to get a record from tbl_new_accounts to tbl_closed_accounts, based on the number entered in a input box
many thanks
please could someone tell me whats wrong with the below
im trying to get a record from tbl_new_accounts to tbl_closed_accounts, based on the number entered in a input box
Code:
Dim StoreNumber As String
StoreNumber = InputBox("Please Enter The Store Number", "")
CurrentDb.Execute ("INSERT INTO Tbl_Closed_Accounts SELECT Tbl_New_Accounts.* From Tbl_New_Accounts WHERE (((Tbl_New_Accounts.Fld_Store_Number)=" & StoreNumber & "));")
many thanks