Set up some module level variables - one for each field on the form.
Whenever a record is saved, write the value of the fields to these variables.
Create an AutoKeys macro and set up the <ctrl>- shortcut in it.
Write a function that can be run from this macro. This function will check which control currently has the focus and then copy the data from the correct variable.
Brian Skelton
Braxis Computer Services Ltd.
|