Hi everyone,
I am trying to get the code below to delete rows with the specific text in Me!Project_Name. I have the code 99% complete, however, the "Enter Parameter box" is poping up and a blank input box. I can input the same text and it'll run but I want to bypass this "Parameter box". Thanks for your help. Code below:
Issue: Parameter Box keeps poping up with the ME!Project_Name text and a box to enter text.
It's probably something real simple I'm missing... Please help out even if it is a simple solution...
I am trying to get the code below to delete rows with the specific text in Me!Project_Name. I have the code 99% complete, however, the "Enter Parameter box" is poping up and a blank input box. I can input the same text and it'll run but I want to bypass this "Parameter box". Thanks for your help. Code below:
Code:
DoCmd.RunSQL "DELETE * FROM " _
& "tblProjectData WHERE [Project Name]=" & Me!Project_Name & ";"
Issue: Parameter Box keeps poping up with the ME!Project_Name text and a box to enter text.
It's probably something real simple I'm missing... Please help out even if it is a simple solution...