B
Ben
Hi all,
Below is a portion of my code in a sub:
qdf.delete "myQry"
strSQL = "...."
set qdf = db.CreateQueryDef("myQry",strSQL)
DoCmd.OpenQuery "myQry", acViewNormal, acReadOnly
I encountered the following error message when I was trying to click a
button on the form, the form provides a dropdown to allow for a user
selection, based on the selection, I delete an existing query and create
a new one based on the user condition. All I do is change the condition
in the WHERE clause and save it with the previously deleted query's name:
error message : "Record is deleted"
But then I clicked debug and when I step through it, I was able to run
to completion. Please share with me your thoughts about this error message.
Thanks,
Ben
Below is a portion of my code in a sub:
qdf.delete "myQry"
strSQL = "...."
set qdf = db.CreateQueryDef("myQry",strSQL)
DoCmd.OpenQuery "myQry", acViewNormal, acReadOnly
I encountered the following error message when I was trying to click a
button on the form, the form provides a dropdown to allow for a user
selection, based on the selection, I delete an existing query and create
a new one based on the user condition. All I do is change the condition
in the WHERE clause and save it with the previously deleted query's name:
error message : "Record is deleted"
But then I clicked debug and when I step through it, I was able to run
to completion. Please share with me your thoughts about this error message.
Thanks,
Ben