View Full Version : Button on a Main Form Pointing to a Place on A Subform


StephaniaFregosi
02-20-2001, 06:15 PM
Access 97: I have a user who wants to have a multipage form. They want to scroll and are confused by forms that open in a new window.

So, I built a nice main form that will "stay still." In it are the subforms that they need to fill in. What I would like to do is make a button that jumps to a specific place inside the subform so they could bookmark those spots. The subforms are all nicely linked master/child.

How would I reference the subform?

Thanks!!!!!

Stephania

Jack Cowley
02-20-2001, 06:28 PM
I think this Knowledge Base article will answer your question.
http://support.microsoft.com/support/kb/articles/Q113/3/52.asp?LN=EN-US&SD=gn&FR=0&qry=q113352&rnk=1&src=DHCS_MSPSS_gn_SRCH&SPR=ACC97

StephaniaFregosi
02-21-2001, 05:51 AM
Thanks for the article. It was somewhat helpful, but I am still really new to visual basic and am learning it on my own, so I think I still don't have the syntax right.

I'm building a button so what I have is:

Docmd.gotocontrol.Forms![Main]![SubFormName].Form![Controlname] but it tells me it can't find a reference to the actual entry in the field. E.g. What is 32? (Which is what the field contains.)


I just want to build a button that jumps from my main form to my subform and my main to my subform within my subform.

Thanks.