Private Sub Command3_Click()
On Error Resume Next
me.controls("txtZoom".setfocus
'where txtzoom is the name of the textbox you want to zoom on
DoCmd.RunCommand acCmdZoomBox
End Sub
HTH
B ----------------------------------------
Ben O'Hara
Home: bpo@SickOfSpam.RobotParade.co.uk
Work: bo104@SickOfSpam.westyorkshire.pnn.police.uk
(in case you've not worked it out get rid of Sick Of Spam to mail me!)
Web:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.