Hi,
I have numerous forms with previous and next record buttons. Whenever a user scrolls to the last record it pops up with a default message box "You can't go to the specified record, You may be at the end of a record set" Which is fine, but when i click OK it pops up with a Macro single step error 2105
frmOrder : cmdNextPO : OnClick : Embedded Macro
How can i change this so that i will pop up with a box that states "Last Record Available" and when the user clicks OK it will go back to the last record available instead of displaying the macro error?
I can replace this macro with VBA if necessary.
The same rule would apply to previous records when the user goes to the beginning and cant go past the first record.
Thanks.
I have numerous forms with previous and next record buttons. Whenever a user scrolls to the last record it pops up with a default message box "You can't go to the specified record, You may be at the end of a record set" Which is fine, but when i click OK it pops up with a Macro single step error 2105
frmOrder : cmdNextPO : OnClick : Embedded Macro
How can i change this so that i will pop up with a box that states "Last Record Available" and when the user clicks OK it will go back to the last record available instead of displaying the macro error?
I can replace this macro with VBA if necessary.
The same rule would apply to previous records when the user goes to the beginning and cant go past the first record.
Thanks.