Detail Click won't fire when Text boxes are disabled

stepone

Registered User.
Local time
Today, 01:56
Joined
Mar 2, 2004
Messages
97
Hello,

I have continuous list form with a list of staff details to allow people to choose a staff member to edit. I want the user to be able to click anywhere on a staff record to open up the frmStaffEdit form.

Originally I had a button in the details section to open frmStaffEdit so it appeared next to every staff member, but that looks messy. So instead I put code in the Click event of the Detail section to open the Edit form.

The problem is that because all the text boxes are Disabled, the Detail_Click event never fires. If I add make any one of the controls Enabled, then the Detail_Click event will fire, and everything works fine. But I don't want to have any of the text boxes Enabled. I tried adding an invisible Enabled text box, but that didn't work either.

Does anyone have any suggestions how I can get the Detail_Click event to fire ?

Thanks,
StepOne
 

Users who are viewing this thread

Back
Top Bottom