How do you reference a control on a parent form from a subform? - ADO DAO RDO RDS
This is a discussion on How do you reference a control on a parent form from a subform? - ADO DAO RDO RDS ; How do you reference a control on a parent form from a subform?
My subform is not tied with a unique identifier. The sub form is like a
valid value table and I want to update a table that need ...
-
How do you reference a control on a parent form from a subform?
How do you reference a control on a parent form from a subform?
My subform is not tied with a unique identifier. The sub form is like a
valid value table and I want to update a table that need the parent forms
uniqueID.
--
Thanks,
JSY
MTTrader
-
Re: How do you reference a control on a parent form from a subform?
On Wed, 22 Aug 2007 23:28:01 -0700, MTTrader <MTTrader> wrote:
>My subform is not tied with a unique identifier. The sub form is like a
>valid value table and I want to update a table that need the parent forms
>uniqueID.
Normally, you would have the parent form related to the child form using the
Master Link field and Child Link field; they'll be equal in value so you can
just refer to the form control containing the child link field.
Failing that...
Parent!controlname
refers to the control named controlname on the parent form.
John W. Vinson [MVP]
-
Re: How do you reference a control on a parent form from a subform
I aware that is is a bit backwards but this valid value table can't be
associated with the parent. It validates and populates the table that does.
I'll give the Parent syntax a go thanks.
Thanks
--
Thanks,
JSY
MTTrader
"John W. Vinson" wrote:
> On Wed, 22 Aug 2007 23:28:01 -0700, MTTrader <MTTrader> wrote:
>
> >My subform is not tied with a unique identifier. The sub form is like a
> >valid value table and I want to update a table that need the parent forms
> >uniqueID.
>
> Normally, you would have the parent form related to the child form using the
> Master Link field and Child Link field; they'll be equal in value so you can
> just refer to the form control containing the child link field.
>
> Failing that...
>
> Parent!controlname
>
> refers to the control named controlname on the parent form.
>
> John W. Vinson [MVP]
>
-
Re: How do you reference a control on a parent form from a subform
Perfect Thanks
--
Thanks,
JSY
MTTrader
"John W. Vinson" wrote:
> On Wed, 22 Aug 2007 23:28:01 -0700, MTTrader <MTTrader> wrote:
>
> >My subform is not tied with a unique identifier. The sub form is like a
> >valid value table and I want to update a table that need the parent forms
> >uniqueID.
>
> Normally, you would have the parent form related to the child form using the
> Master Link field and Child Link field; they'll be equal in value so you can
> just refer to the form control containing the child link field.
>
> Failing that...
>
> Parent!controlname
>
> refers to the control named controlname on the parent form.
>
> John W. Vinson [MVP]
>
Similar Threads
-
By Application Development in forum CSharp
Replies: 6
Last Post: 11-21-2007, 02:06 PM
-
By Application Development in forum CSharp
Replies: 1
Last Post: 11-15-2007, 03:12 AM
-
By Application Development in forum ADO DAO RDO RDS
Replies: 1
Last Post: 09-13-2007, 11:58 AM
-
By Application Development in forum DOTNET
Replies: 0
Last Post: 05-07-2007, 09:44 AM
-
By Application Development in forum ADO DAO RDO RDS
Replies: 0
Last Post: 07-14-2003, 04:02 AM