I need a little help please
I have just got this help from Access Visual Basic
stLinkCriteria = "[MID] = " & me![OID] ' this one works (numeric field)
stLinkCriteria = "[MText] = 'Text' ' this one also works (text field)
but as soon as I do this:-
stLinkCriteria = "[MID] = " & me![OID] And "[MText] = 'Text' (just joining them together because I need multiple criterias) it comes up with the following error:-
"Type Mismatch"
I'm sure it is so simple but just can't work it out.
Thanks
I have just got this help from Access Visual Basic
stLinkCriteria = "[MID] = " & me![OID] ' this one works (numeric field)
stLinkCriteria = "[MText] = 'Text' ' this one also works (text field)
but as soon as I do this:-
stLinkCriteria = "[MID] = " & me![OID] And "[MText] = 'Text' (just joining them together because I need multiple criterias) it comes up with the following error:-
"Type Mismatch"
I'm sure it is so simple but just can't work it out.
Thanks