Listview double click - Access 2010

carl6885

Registered User.
Local time
Yesterday, 18:15
Joined
Nov 16, 2011
Messages
82
Hi All

Looking for a little bit of help on a strange one.....

I have an Access Database (mdb format) that users opening using Access Runtime 2010 (has to be this where I work).

Within the main form there is a listview loaded with any number of records.

When a user double clicks on the record it opens another form with all the details in. Now the problems lies within the opening of the new form...

So, if a user double clicks the item on the main form it opens the new form above it now if the mouse is over a text field on the new form it is automatically calling the on_click event of that textbox which brings up pop out form for editing text.

This isn't too much of an issue just very annoying and from what we can tell absolutely no reason for it to be happening.

We have tried a timer delay to see if that stops it, we were working on the logic that Access RT 2010 was working so fast it thought the user had click on the text box when in face they hadn't but no joy.

Can anyone help?

Thanks

Carl
 
Carl, Make sure the Datasheet view, even associated is DoubleClick not the Click event..

Click method is not triggered unless the Click is actually performed.. See if there is any method associated with the OnGotFocus event.. Also there is one simple work around in this occasion, you have to set the focus manually on a control that has no even associated with it, in the Form_Current method..
Code:
Private Sub Form_Current()
    Me.someControl.SetFocus
End Sub
 

Users who are viewing this thread

Back
Top Bottom