double click on a line

  • Thread starter Dimitris Nikolakakis
  • Start date
D

Dimitris Nikolakakis

I have a form and a subform

In the subform I have the result of a query in datasheet view. All fields of
line are

Enabled:No
Locked:Yes

I want to double click on a line and open a form to show the specified
record based on a field of the line (OrderID)

I can do it if I enable the field and OnDoubleClick write the code, but I
cannot do it if I make all fields not enabled.

thanks
 
R

Rick Brandt

Dimitris Nikolakakis said:
I have a form and a subform

In the subform I have the result of a query in datasheet view. All fields of
line are

Enabled:No
Locked:Yes

I want to double click on a line and open a form to show the specified
record based on a field of the line (OrderID)

I can do it if I enable the field and OnDoubleClick write the code, but I
cannot do it if I make all fields not enabled.

As long as they are locked why do you need them to be disabled? You can place a
transparent button that covers all of the controls, but that will only work in
Continuous view, not Datasheet. It's fairly easy to make a Continuous view that
looks just like a Datasheet though.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top