exit if table doesnt exist
I have a function called updatewarehouse that opens an append query somethjing like that
Public Function UpdateWarehouse()
DoCmd.OpenQuery “AppendOrder”, acNormal, acEdit
end function
I want at first to have a checking, if the table order1 exists,and if it does not exist, to stop the function, add a message “order1 not existing” However the function should continue if the table order1 exists.
How can i do it?