View Full Version : novice help....form and subforms


helmsman
04-23-2001, 06:26 AM
Form that has three subforms in it.... in navigating and entering in
information then saving gives me a error message in regards to linking
master and child fields... i need a little insight as to why this might
have occured?

this is exactly the error messages i get:The LinkMasterFields property
setting has produced this error "Ambiguous name detected Next_Record_Click"

DES
04-23-2001, 04:43 PM
Well just a shot in the dark but it sounds to me like you have linked the master and child off a command button's on click event.

"Next_Record_Click" is usually the name of a command button's OnClick event.

Though why this would happen I don't know.

If you would like me to look at it send it along to my email and I will see what I can do for you.

DES

helmsman
04-24-2001, 04:43 AM
i think that i have elminated the problem... i had created some buttons on the form and then deleted them.. the orphaned code was still present. i just deleted the orphaned code and it seems to be working alright? does this sound like it could have been the problem? and if so.... if you have code such as that without a button number.... does that indicate an orphaned commands?

Rich
04-24-2001, 05:08 AM
When you delete a button the code is not deleted with it. It's irrelevant if the button has a name or number