Snowflake68
Registered User.
- Local time
- Today, 16:11
- Joined
- May 28, 2014
- Messages
- 464
I have some vba that prompts the user for a value to use a s filename. How do I also store this value in a field called {CustFileName] name' in table "SelectedCustomer".
I have tried to use just a simple update query instead to prompt from the input value but I would really like to display a value in the prompt box so thought an input box using VBA would be better.
Hope someone can help.
Thanks in advance.
Code:
Dim strCustomerName
strCustFileName = InputBox("'What do you want to call the file? Press enter to accept customer name as filename", "Customer File Name", DLookup("[CustName]", "SelectedCustomer"))
Hope someone can help.
Thanks in advance.