Hi,
I have managed to simplify my problem but can't seem to get this to work.
I want to open up a form from a click event of another form, but not only
open the form when the button is pressed but also move to the last record.
DoCmd.OpenForm "My-Form-Name", acNormal
Opens the form with no problem.....
But the next line....
DoCmd.GoToRecord , , acLast
DoCmd.Close acForm, Me.Name
Doesn't seem to get the form to move to the last record, only shows 1st
record of n.
And !!! I don't want to put the code:
DoCmd.GoToRecord , , acLast
into the form load event, or on open event either because I want it to only
move to the last record for my specific click event and not always when the
form is opened from other methods.
What am i missing here ? How do I code all this in one line ?
Thanks