I am wondering if it is possible to use a table/field identifier as part of a criteria expression in a query.
The field that I need to use in the expression is not a part of the focus table, so I think I need to use a full identifier, if that is possible. I have seen such identifiers used for controls on forms, but never fields in tables.
For example, something like the following as a criteria expression:
<>[Tables]![tblUserData]![UserId]
Obviously, that didn't work. My question is, is it possible to identify a field from another table as part of a criteria in a query. If so, how?
Just in case it helps, the reason I am doing this is I am trying to create an append query that only appends data that is not already there.
The field that I need to use in the expression is not a part of the focus table, so I think I need to use a full identifier, if that is possible. I have seen such identifiers used for controls on forms, but never fields in tables.
For example, something like the following as a criteria expression:
<>[Tables]![tblUserData]![UserId]
Obviously, that didn't work. My question is, is it possible to identify a field from another table as part of a criteria in a query. If so, how?
Just in case it helps, the reason I am doing this is I am trying to create an append query that only appends data that is not already there.