T
Tammy
Hello - I've read quite a few posts relating to similar needs, but am not
seeing a solution for what I require. I am using Access 2007.
I have a form that displays properties (frmProperty). There is a second form
that displays the buildings for each property (frmBuilding). They are linked
together by a field called [strPropertyNum]. It is a one-to-many
relationship, with [frmProperty] being the parent.
What I would like to do is create a button on [frmProperty] that opens
[frmBuilding]. That is easy enough, however, I'd like the button to open
[frmBuilding] with a new record showing, and the property number from the
record on [frmProperty] already filled in. Using a macro, I can get the form
to open and display a new record, but how do I get the PropertyNum value to
fill in automatically? Is this possible without VBA coding?
I don't want [frmBuilding] to always open this way - only when the button is
clicked on [frmProperty].
I'm not familiar with VBA, so I'd like to try this using Access tools. I am
great at copying and pasting, however, if code is required! There may have
been a "coding" solution in with other posts, but I really don't understand
the language, so I apologize if this has been answered a million times
already.
Thanks for any suggestions!
seeing a solution for what I require. I am using Access 2007.
I have a form that displays properties (frmProperty). There is a second form
that displays the buildings for each property (frmBuilding). They are linked
together by a field called [strPropertyNum]. It is a one-to-many
relationship, with [frmProperty] being the parent.
What I would like to do is create a button on [frmProperty] that opens
[frmBuilding]. That is easy enough, however, I'd like the button to open
[frmBuilding] with a new record showing, and the property number from the
record on [frmProperty] already filled in. Using a macro, I can get the form
to open and display a new record, but how do I get the PropertyNum value to
fill in automatically? Is this possible without VBA coding?
I don't want [frmBuilding] to always open this way - only when the button is
clicked on [frmProperty].
I'm not familiar with VBA, so I'd like to try this using Access tools. I am
great at copying and pasting, however, if code is required! There may have
been a "coding" solution in with other posts, but I really don't understand
the language, so I apologize if this has been answered a million times
already.
Thanks for any suggestions!