Tip of the Week
Here's an MS Access tip to help developers like yourself create better MS Access applications. This page will change weekly, so check back for more useful code.
Zoom Box: Open the Access-supplied Zoom Box from the OnDblClick event procedure of your text box controls! Copy and paste the following function into a new module:
Function ZoomCtl()
On Error Resume Next
DoCmd.RunCommand acCmdZoomBox
On Error GoTo 0
End Function
Now put the following function call in your text box or combo box OnDoubleClick event property:=ZoomCtl() So now when a user double-clicks on your text or combo box the MS Access-supplied Zoom Box pops up and magnifies the text, or shows more than can be displayed in the control.
Comments?