Is there another way to write this so it works?
SQL = ("SELECT * FROM members WHERE act = 'active' AND pr_agent2 OR pr_agent =" & agn)
Basically the agn is a request defined earlier, that part is working. It seems to be the 'pr_agent2 OR pr_agent' part thats not doing what it should.
Any ideas?
Thanx
SQL = ("SELECT * FROM members WHERE act = 'active' AND pr_agent2 OR pr_agent =" & agn)
Basically the agn is a request defined earlier, that part is working. It seems to be the 'pr_agent2 OR pr_agent' part thats not doing what it should.
Any ideas?
Thanx