Click on a subfrom and the current event of anothr subform fires

M

Mark A. Sam

This is AccessXp, but had been a problem on A97 also, at least on this app.

Mainform1 has three subforms, SubA, SubB, and SubC.

SubB is linked to SubA and the LinkMasterFields is a textbox on MainForm1.

SubC has no relationship with SubA and it has a LinkMasterFields which is a
Combobox on Mainform1.

When I click on a textbox in either SubB or SubC, the current event on SubA
fires. This is a problem, because I need to requery a combobox on Mainform1
from the current event on SubA. When I add the requery method then click on
SubB or SubC, SubA's Current event fires over and over.

The combo being requeried it the LinkMasterFields of SubC, but I don't know
that it matters.

Is there a way to prevent this?

God Bless,

Mark A. Sam
 

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