Access9001
Registered User.
- Local time
- Today, 01:40
- Joined
- Feb 18, 2010
- Messages
- 268
I have an automated process that iterates through a list of maketable queries and executes them, and if there's an error, it logs it.
The problem is that if, for any reason, the query can't execute properly, I still lose my table if I try to run MakeTableQueryA but MakeTableQueryA fails. I want to be able to KEEP my table if MakeTableQueryA can't execute properly for any reason.
The other approach is to do a delete/append approach, but then if there's an error in the append process, I've still deleted my data first, and I don't know an easy way to "validate" the sql first before running it.
The problem is that if, for any reason, the query can't execute properly, I still lose my table if I try to run MakeTableQueryA but MakeTableQueryA fails. I want to be able to KEEP my table if MakeTableQueryA can't execute properly for any reason.
The other approach is to do a delete/append approach, but then if there's an error in the append process, I've still deleted my data first, and I don't know an easy way to "validate" the sql first before running it.