I have an unbound, no record source form with a few dropdown boxes populated by various tables. The user selects what they want from the dropDown boxes and then clicks a button and my VBA creates a folder in windows with the names from the dropDown boxes as the windows Path. All of this works fine.
The issue is that I want to store the string created by the multiple dropboxes into a table and this is where my issue resides. I have this, and it does not work.
CurrentDb.Execute "UPDATE Products SET PhotoDirectory = testing WHERE [ProductCode]=" & "'" & [cmboNames] & "'"
I want this line to go to my Products Table and insert the word "testing" in the PhotoDirectory field where the product code selected on my unbound form is the same as the product code in the Products Table.
Thank you for your help with this, and any solution is welcomed even if it is on a different path then the one I am on.