I'm working on a Access/VBA program where I need/want to do check on a field not represented on the form. My code look like this:
If [Tablename].[FieldName] = "something" Then
....dosomething
End If
I get an error-message that says that field don't exist, but that not true. Tablename and Fieldname are correct spelled.
Is it possible to access [Tablename].[FieldName] directly ?
What's the correct syntax ?
Regards Knut
If [Tablename].[FieldName] = "something" Then
....dosomething
End If
I get an error-message that says that field don't exist, but that not true. Tablename and Fieldname are correct spelled.
Is it possible to access [Tablename].[FieldName] directly ?
What's the correct syntax ?
Regards Knut