Hi All,
Was trying build security feature with Dlookup and tempvars. I've got a call log system where there is a check box if a followup is required. My idea is, if the [AttendedBy_FK] and the [Tempvars]![TempEmpID] are equal in then the Check box (chkFollowup) is enabled else it should be disabled.Thereby only the employee who logged the call can followup on it. So far my expression is as follows,
DLookUp("[LogID]",[tblLogOverview],"[AttendedBy_FK]='" & [TempVars]![EmpEmpID] & "'")
Unfortunately the above gives me a big error "The object doesn't contain the automation object 'tblLogOverview.' " I've attached a screeshot also.
Thanks in advance.
Was trying build security feature with Dlookup and tempvars. I've got a call log system where there is a check box if a followup is required. My idea is, if the [AttendedBy_FK] and the [Tempvars]![TempEmpID] are equal in then the Check box (chkFollowup) is enabled else it should be disabled.Thereby only the employee who logged the call can followup on it. So far my expression is as follows,
DLookUp("[LogID]",[tblLogOverview],"[AttendedBy_FK]='" & [TempVars]![EmpEmpID] & "'")
Unfortunately the above gives me a big error "The object doesn't contain the automation object 'tblLogOverview.' " I've attached a screeshot also.
Thanks in advance.