
Originally Posted by
June7
Include the Contacts table in q_Weights.
graph RowSource:
SELECT (Format([DateOfWeight],"Short Date")) AS Expr1, q_Weights.[Weight], q_Weights.[Goal Weight] FROM q_Weights WHERE Contacts_ID=[ID];
I've never set trend line so am exploring this now. Well, that was simple but can't specify color.
I really don't like dynamic parameterized queries. I prefer to apply filter to form or report. In VBA (there is macro equivalent):
DoCmd.OpenReport "r_contacts", , , "Contacts_ID=" & Me!ID
Could really do this as a single report and no subreport. Either way, the BMI expression should reference report not form and with the revision to q_Weights don't need report name prefix: =([Weight]*703)/([Height]^2)