A
Adrian Parker
I would like to do a query of two fields (firstName and lastName) and
compare the concatenated value of these two fields (with a signle spaces
added between them) to a string. Can this be achieved in Access?
From VB I have tried the following:
adorecordset.Open "select * from students, instructors " & "WHERE
textcat(textcat(instructors.[firstName], ' '), instructors.[lastName]) = '"
& cmbInstructor.Text & "' AND " & students.instructorCode =
instructors.instructorCode", db, adOpenStatic, adLockPessimistic
It works under SQL I'm told, but the textcat() function does not seem
available in my environment.
What are my options?
Adrian
compare the concatenated value of these two fields (with a signle spaces
added between them) to a string. Can this be achieved in Access?
From VB I have tried the following:
adorecordset.Open "select * from students, instructors " & "WHERE
textcat(textcat(instructors.[firstName], ' '), instructors.[lastName]) = '"
& cmbInstructor.Text & "' AND " & students.instructorCode =
instructors.instructorCode", db, adOpenStatic, adLockPessimistic
It works under SQL I'm told, but the textcat() function does not seem
available in my environment.
What are my options?
Adrian