RE: pass a calculated form field to a subform field?
- From: "Brook" <Brook@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 27 Apr 2005 08:28:07 -0700
Thank you very much...
That worked... I was unaware of the "Parent" as a reserved word.
I do have another question... I'm not sure if you can answer or not..
The setup that was just created is for my invoicepayments subform, which
takes the invoice total and then allows the user to enter payments that are
deducted from the total.
What I am trying to do is this:
Payment1 is deducted from the invoice total giving a Balance Due, then each
additional payment is then deducted from the Balance Due to calculate a new
account balance..
Do you understand... do you know how I can accomplish this?
Thanks,
Brook
"Sprinks" wrote:
> Hi, Brook.
>
> No, I meant it literally--"Parent" is a reserved Access word. Cut and paste
> the following into the Control Source property of the subform control:
>
> =[Parent].[Form]![invoicetotal]
>
> Hope that helps.
> Sprinks
>
> "Brook" wrote:
>
> > hello Sprinks,
> >
> > Thanks for the tip,
> >
> > I am assuming that you mean make the value of my invoicetotal on my
> > subform to be: =frminvoices.Form!invoicetotal
> >
> >
> > When I do this, I get: #Name?
> >
> > my "main form/parent form" is called frminvoices, and my field is called
> > invoicetotal
> >
> > the invoicetotal is based on another subform within the same parent form
> > =[invoicesubtotal]+[ShippingCost]
> >
> > so I have two subforms and a main form.
> >
> > and I don't know if this matters, but my subforms are located on two tabs.
> > one for product enty and one for payment enter.
> >
> > Thanks for the response..
> >
> > Brook
> >
> >
> > Any Ideas?
> >
> >
> >
> > "Sprinks" wrote:
> >
> > > Hi, Brook. Try:
> > >
> > > =[Parent].[Form]![invoicetotal]
> > >
> > >
> > > Hope that helps.
> > > Sprinks
> > >
> > > "Brook" wrote:
> > >
> > > > hello all..
> > > >
> > > > I am trying to pass a calculated form (frminvoices) field (invoicetotal
> > > > (This is a calculated field)) to subform (frminvoicepayments subform) field
> > > > (invoicetotal).
> > > >
> > > > I know this should be easy, but I have racked my brain on this one...
> > > >
> > > > Can anyone help?
> > > >
> > > > Thanks,
> > > >
> > > > Brook
.
- Follow-Ups:
- RE: pass a calculated form field to a subform field?
- From: Sprinks
- RE: pass a calculated form field to a subform field?
- References:
- pass a calculated form field to a subform field?
- From: Brook
- RE: pass a calculated form field to a subform field?
- From: Sprinks
- RE: pass a calculated form field to a subform field?
- From: Brook
- RE: pass a calculated form field to a subform field?
- From: Sprinks
- pass a calculated form field to a subform field?
- Prev by Date: Syntax Error
- Next by Date: Re: Syntax Error
- Previous by thread: RE: pass a calculated form field to a subform field?
- Next by thread: RE: pass a calculated form field to a subform field?
- Index(es):
Relevant Pages
|