No problem. Glad I could help.
By the way, when running queries from the code it's often considered neater to hide any query warnings that indicate how many records are deleted / copied etc. If you want to include that then try :
By the way, when running queries from the code it's often considered neater to hide any query warnings that indicate how many records are deleted / copied etc. If you want to include that then try :
Code:
Call DoCmd.SetWarnings(False) 'Query(ies) here Call DoCmd.SetWarnings(True)
Comment