G
Guest
I cannot find any help on the syntax for getting the value contained within
the current form and its nested subforms to my OpenRecord 'where' clause. I
can only get values from the main forms data as in:
DoCmd.OpenReport stDocName, acPreview, ,"CompanyName =
Forms!BusinessForm!CompanyName.value"
I want to combine CompanyName with LastName to create the 'where' clause.
LastName is in the subform PersonForm which is in the subform
BusinessLocationSubform which is in the main form, BusinessForm.
Thank you for your help. I've spent the last three days looking for this
answer before mailing this group...Ellie
the current form and its nested subforms to my OpenRecord 'where' clause. I
can only get values from the main forms data as in:
DoCmd.OpenReport stDocName, acPreview, ,"CompanyName =
Forms!BusinessForm!CompanyName.value"
I want to combine CompanyName with LastName to create the 'where' clause.
LastName is in the subform PersonForm which is in the subform
BusinessLocationSubform which is in the main form, BusinessForm.
Thank you for your help. I've spent the last three days looking for this
answer before mailing this group...Ellie