|
Again, you're not saying everything. You can look at the logic and presume Executed is true because you've entered a valid ID and updated the record, set things appropriately, and should exit. What you're not confirming (in your posts) is that you actually followed those presumptive paths. Put some output statements in each alternative path ane SEE where you actually go. If it isn't where you expect, output some values so you can SEE why it took the path. Information is actually key to debugging. It's available in your variables at certain points and more is available in status returned by the functions you use.
|