greaseman
Closer to seniority!
- Local time
- Today, 13:11
- Joined
- Jan 6, 2003
- Messages
- 360
I've got a project with several code modules that's supposed to work like this:
01) via code, run an SQL process to copy a record from one SQL table to another SQL table.
02) via code, run an SQL process to update the original record in the first SQL table.
03) via code, run an SQL process to take the modified record from the first SQL table to another SQL table.
04) via code, run an SQL process to delete the modified record from the first SQL table.
I have encountered problems when this "stuff" runs from within Access 97. The first and last steps appear to run well, but the 2nd and 3rd steps don't seem to run at all.
When I hard code the word "Stop" in the module, and then step through the code, everything works great. That led me to perhaps it was a timing issue. I then placed code in my module to cycle through a counter, to "slow down" the module. That only worked sometimes, but not at othe times.
Has anyone out there encountered this kind of headache? If so, what did you do to work through it?
As always, your responses are appreciated! This forum is much more informative than what you can glean from the Microsoft site.
Thanks again!!!
01) via code, run an SQL process to copy a record from one SQL table to another SQL table.
02) via code, run an SQL process to update the original record in the first SQL table.
03) via code, run an SQL process to take the modified record from the first SQL table to another SQL table.
04) via code, run an SQL process to delete the modified record from the first SQL table.
I have encountered problems when this "stuff" runs from within Access 97. The first and last steps appear to run well, but the 2nd and 3rd steps don't seem to run at all.
When I hard code the word "Stop" in the module, and then step through the code, everything works great. That led me to perhaps it was a timing issue. I then placed code in my module to cycle through a counter, to "slow down" the module. That only worked sometimes, but not at othe times.
Has anyone out there encountered this kind of headache? If so, what did you do to work through it?
As always, your responses are appreciated! This forum is much more informative than what you can glean from the Microsoft site.
Thanks again!!!