I
ironwood9 via AccessMonster.com
I have a module where I run an action query - here is the code:
CurrentDb.Execute "q_FIN_DLM_Misc_Append", dbFailOnError
It is an append query - but it should always have at least ONE record to
append to the destination table, which is called t_Main
Does anyone have an example of code I could add, probably with a DCOUNT
function and an IF / THEN statement to where perhaps a message would be
generated if there are no records being appended, because that shouldn't be -
I have several queries running from this one module, so if one "failed," I
would never know.
CurrentDb.Execute "q_FIN_DLM_Misc_Append", dbFailOnError
It is an append query - but it should always have at least ONE record to
append to the destination table, which is called t_Main
Does anyone have an example of code I could add, probably with a DCOUNT
function and an IF / THEN statement to where perhaps a message would be
generated if there are no records being appended, because that shouldn't be -
I have several queries running from this one module, so if one "failed," I
would never know.