Hello Everyone.
I have an idea and i want to do something like this in form's BeforeUpdate Event:
If {Ctrl+S Pressed} then
RunMenuCommand
Command SaveRecord
Else
If MsgBox("Do you want to save the form?",4)=6 then
RunMenuCommand
Command SaveRecord
Else
RunMenuCommand
Command UndoRecord
End if
End if
The actual thing i wanna do is to save the form only by pressing the Ctrl+S shortcut key and in any other case, a prompt be shown to prevent auto save.
but i dont know what is the right condition for "If {Ctrl+S Pressed} then"
is there any condition for using keyboard like this at all in new macro mode of Access ?!
Thank you so much.
I have an idea and i want to do something like this in form's BeforeUpdate Event:
If {Ctrl+S Pressed} then
RunMenuCommand
Command SaveRecord
Else
If MsgBox("Do you want to save the form?",4)=6 then
RunMenuCommand
Command SaveRecord
Else
RunMenuCommand
Command UndoRecord
End if
End if
The actual thing i wanna do is to save the form only by pressing the Ctrl+S shortcut key and in any other case, a prompt be shown to prevent auto save.
but i dont know what is the right condition for "If {Ctrl+S Pressed} then"
is there any condition for using keyboard like this at all in new macro mode of Access ?!
Thank you so much.