| re: determining next record in BeforeUpdate event
"Todd" <todholt@hotmail.com> schreef in bericht news:1119477181.365087.202860@o13g2000cwo.googlegr oups.com...[color=blue]
>I do have a unique ID associated with each record but the problem with
> that solution is that the form_current event actually occurs after the
> beforeupdate event. If I were to move the form.refresh statement to
> the form_current event I would encounter the problem of being stuck on
> the record that is being updated (form.undo would keep me stuck in the
> edited record). Thanks for the suggestion. Any other ideas?
>[/color]
I don't think I grasp what's happening here (what you are trying to do...)
I *do* think you will have to store the ID, one way or another.
- Use a var 'lastclicked' if the user really 'clicks' in a new record.
- Or use two vars: 'lastcurrent' and 'beforelastcurrent' (beforelast.. get's it's value from the last..)
But again, I am not sure this is what you need...
Arno R |