missymarie1014
Technical User
This is Access 2000. I have a little dilemma. I have created an onscreen calculator to do some basic division and multiplication which is called up as a modal form by double clicking anywhere in a form. After a calculation is performed I want to give the user the option to click a command button which will close the on screen calculator and copy and paste the value to a control in the form from which the calculator was originally brought up. The only thing is I don't want the pasting to be done automatically to the active control in the current form. In other words I am trying to eliminate the need for the user to move to the control he/she wants to edit before enabling the calculator. I want the user to be able to identify the control at the time of the pasting function. The dilemma is that the control in question is the only enabled, unlocked control in the form and I have already committed the DoubleClick event for this control to another procedure. I am wondering what other event or approach could be used to activate the paste portion of this procedure. What I am trying to accomplish is the user brings up the calculator, performs the calculation, clicks the command button to copy the calculated result which closes the calculator, and then the user moves to the specific control where he/she wants to paste the data and executes some action to paste the clipboard value. Also I don't really want to add a command button to the current form or require a Ctrl-V keyboard entry to accomplish the paste process. Thanks for any help.