Can anyone tell me why this formula gets a "The remaining text does not appear to be a part of the formula." ERROR ?
Report.RecordSelectionFormula = "{ado.year} =" + "'" + Form6.Combo1.Text + "'" + "{ado.month} =" + "'" + Form6.Combo2.Text + "'"
Report.RecordSelectionFormula = "{ado.year} =" + "'" + Form6.Combo1.Text + "'" + "{ado.month} =" + "'" + Form6.Combo2.Text + "'"