i am trying to open a report that is limited by the SSN field of the table PeopleNotEmailed. When typing in the following i get a pop up box that asks me for [PeopleNotEmailed].[SSN]. I know i spelled it right and that there are numbers in there. If i instead plug in a number for [PeopleNotEmailed].[SSN] it works. any suggustions?...
DoCmd.OpenReport "Payroll", acPreview, , WhereCondition:="[PeopleNotEmailed].[SSN] = [SSN]"
thanks
eric
DoCmd.OpenReport "Payroll", acPreview, , WhereCondition:="[PeopleNotEmailed].[SSN] = [SSN]"
thanks
eric