I am running a report from a temp table created by a make table query.
I want to write an if…then…else statement to ensure that the temp table is deleted before I run the make table query. How would I do this?
If ??????? then
DoCmd.RunSQL “DROP TABLE temptable”
else
end if