Re: Need check box to change formula used in subform source



use the IIF function. You're probably going to need Keri's article on
referring to controls etc from AccessWeb, which is here
http://www.mvps.org/access/forms/frm0031.htm

and then you'd do something ilke

TotalPrice=Quantity * (IIF(ParentForm.CheckBox=Checked,
[ListPrice],[NetPrice]))

Of course, you're going to have to read Keri's article and get the
exact syntax down for referring ot the right control, but that should
do it.

.



Relevant Pages

  • Re: Referencing controls on subform query
    ... Keri Hardwick did a really nice summary of referring to various ... properties etc of forms and controls with examples, ... AccessWeb. ...
    (comp.databases.ms-access)
  • Re: Question about hover tips
    ... > I can't find what to call these so I'm referring to them as hover tips. ... when I just placed my cursor over the "New ... Userforms and their controls support this. ...
    (microsoft.public.word.vba.general)
  • Re: A97 Problem: Aliased fields not available in Detail.Format event
    ... Report in Access 97 on Windows XP. ... always had a problem with referring to the fields of the report if ... they are not represented by controls on the report. ... fields in the recordsource of a subform from the parent form. ...
    (comp.databases.ms-access)
  • Re: Create editable document with permanent fields in Word 2003
    ... On Feb 29, 12:21 pm, Jean-Guy Marcil ... documents you a referring to can use Word 2007, ... Controls which can be set to "Cannot be deleted". ... our ski vacation in Hell. ...
    (microsoft.public.word.vba.general)
  • Re: A97 Problem: Aliased fields not available in Detail.Format event
    ... always had a problem with referring to the fields of the report if ... they are not represented by controls on the report. ... within a single report (rather than between parent and child or vice ...
    (comp.databases.ms-access)