Hi!
I'm writing an append query in SQL/VBA and I want to be able to trap errors when running the query. Using .Execute is a good way to do this, the only thing is that is does not work when refrencing to a form field as a criteria.
Ex. [Forms]![frmExample].form![txtExample]
Is there a way to work around this?
A pointer in the right direction would be superb!!
Thanks!
I'm writing an append query in SQL/VBA and I want to be able to trap errors when running the query. Using .Execute is a good way to do this, the only thing is that is does not work when refrencing to a form field as a criteria.
Ex. [Forms]![frmExample].form![txtExample]
Is there a way to work around this?
A pointer in the right direction would be superb!!
Thanks!