Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

button to simulate a "On Dbl Click" event for a field/control

Status
Not open for further replies.

SallyG

Technical User
Sep 20, 2000
8
0
0
GB
Hi,

I need to have a button simulate a "On Dbl Click" event for a field/control in a subform when the button is clicked.

I know there is probibly a better way of doing this but i do have a good reason for wanting to use this method.

I have tried various ways of simulating the Dbl Click but with no luck so can anyone help ???

Just for information reasons, here's what Im using:

Mainform = FrmData
Subform = SumFrmData1
field/control = CtlDataID

Button = ButRun

Thank you in advance

Sally [sig][/sig]
 
Why don't you just make it a public sub routine in a module, and then you can call it as many times as you want, from anywhere you want? [sig]<p>Jim Lunde<br><a href=mailto:compugeeks@hotmail.com>compugeeks@hotmail.com</a><br><a href= Application Development[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top