From: Chelsea Z Chelsea on 11 Mar 2010 15:53 I have created a form for user input (comprised of text boxes and list boxes) and a subform that shows the results of some calculations that are performed on the user input. If I make a change to the user input and requery to see the updated results in the subform, Access jumps to record #1, no matter which record I was editing. I then have to manually go back to the record I was editing (and first I have to remember which one that was out of hundreds) to see the results and make additional edits. Is there any way to automate the process so that Access automatically goes back to the record that I was editing after requerying?? I would imagine there is, but I'm pretty new to MS Access. Thanks!
From: Allen Browne on 11 Mar 2010 21:57 Instead of requerying the form, try saving the record with: Me.Dirty = False If necessary, you can force the calculated expressions (not saved fields) to recalculate with: Me.Recalc -- Allen Browne - Microsoft MVP. Perth, Western Australia Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "Chelsea Z" <Chelsea Z(a)discussions.microsoft.com> wrote in message news:CD0D7540-2112-471C-9205-32552A3229DC(a)microsoft.com... > I have created a form for user input (comprised of text boxes and list > boxes) > and a subform that shows the results of some calculations that are > performed > on the user input. If I make a change to the user input and requery to > see > the updated results in the subform, Access jumps to record #1, no matter > which record I was editing. I then have to manually go back to the record > I > was editing (and first I have to remember which one that was out of > hundreds) > to see the results and make additional edits. > > Is there any way to automate the process so that Access automatically goes > back to the record that I was editing after requerying?? I would imagine > there is, but I'm pretty new to MS Access. > > Thanks!
|
Pages: 1 Prev: How Do I display a Yes/No Field correctly in a List Box? Next: Rest data from tables |