Re: A subform Link Child Fields, Link Master fields problem (newbie question)
- From: Marshall Barton <marshbarton@xxxxxxxxxx>
- Date: Mon, 24 Dec 2007 12:58:58 -0600
Parent is a property that returns the form object of the
subform's parent form. You were not supposed to replace it.
Assuming the main form text box (or field) is named
StockSymbol, the control source should simple be:
=PARENT.StockSymbol
If you got prompts, then I would have to guess that you used
that in a query.
If you did use that in a subform text box's control source,
then you should get #Name if you forgot the = sign or if
StockSymbol is not really the name of the main form text box
or field.
If you have some kind of aversion to using the Parent
property, you could use the full reference:
=Forms!nameof mainform.StockSymbol
--
Marsh
MVP [MS Access]
raylopez99 wrote:
I found a hint--but just a hint--in a textbook on how to fix this.
problem. Apparently, for at least Access 95 (the book is old) the
Form Design interface does not allow you to create a form from more
than one table (unlike the Form Wizard, which does). To trick the
interface, you must set up a query, and base the form on the query.
Anybody actually done this for Access 2003? Right now my workaround
is fine, but for future reference I'd like to know.
- References:
- Prev by Date: RE: load image to database
- Next by Date: API Open Dialog. What if user cancels
- Previous by thread: Re: A subform Link Child Fields, Link Master fields problem (newbie question)
- Next by thread: Re: A subform Link Child Fields, Link Master fields problem (newbie question)
- Index(es):
Relevant Pages
|
Loading