Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: Make SubForm Recognize New Form


Message #1 by "KennethMungwira" <KennethMungwira@Y...> on Fri, 26 Oct 2001 20:16:39
The problem I seem to have run into is that my subform has two command 

buttons and my main form has none. When I am in one record in my mainform, 

and activate one of my buttons the code behind it hinds on button and 

displays the other. Unfortunately if I switch to another record in my main 

form it seems to stick to the displayed button. Now if I display my 

subform only and I switch to a new record the original button shows up 

again.

This brings me to conclude that the subform does not recognize the 

Mainforms records.



Please help?
Message #2 by "Alan Douglas" <acdoug@s...> on Sat, 27 Oct 2001 05:32:31
Check your LinkChildFields and LinkMasterFields on the main and subform.

... AL



> The problem I seem to have run into is that my subform has two command 

> buttons and my main form has none. When I am in one record in my 

mainform, 

> and activate one of my buttons the code behind it hinds on button and 

> displays the other. Unfortunately if I switch to another record in my 

main 

> form it seems to stick to the displayed button. Now if I display my 

> subform only and I switch to a new record the original button shows up 

> again.

> This brings me to conclude that the subform does not recognize the 

> Mainforms records.

> 

> Please help?

  Return to Index