Guest_imported
New member
- Jan 1, 1970
- 0
it looks like this--
"SELECT ass.projid, staffid, proj.projid, projname FROM ass, proj WHERE proj.projid=ass.projid AND ass.staffid like '%" & staffid & "%'"
im having trouble with the last part of the statement where comparing staffid's- the = operator isn't recognised and this 'like' operator is returning queries where the staffid is part of the other staffid. For example, its returning info for staff member 13,33 when it is staff mem 3!!
any quick suggestions would be fantastic..cheers people..
"SELECT ass.projid, staffid, proj.projid, projname FROM ass, proj WHERE proj.projid=ass.projid AND ass.staffid like '%" & staffid & "%'"
im having trouble with the last part of the statement where comparing staffid's- the = operator isn't recognised and this 'like' operator is returning queries where the staffid is part of the other staffid. For example, its returning info for staff member 13,33 when it is staff mem 3!!
any quick suggestions would be fantastic..cheers people..