The following ain't working but no error message is produced. No code following this is executed either. I think it's one of these ANNOYING mistakes that you don't see for looking at!
Any help much appreciated!!
-----------------------------------------------
strSQL2 = "SELECT tblSubCat.SUBCATID, tblSubCat.CODE FROM tblComplaintType, tblSubCat, tblCategory WHERE "
strSQL2 = strSQL2 & "tblCategory.CATID = tblSubCat.CATEGORYID AND "
strSQL2 = strSQL2 & "tblCategory.COMPLAINTTYPEID = tblComplaintType.COMPLAINTTYPEID AND "
strSQL2 = strSQL2 & "tblComplaintType.COMPLAINTTYPEID=" &
Request.Form("cboReconType"
& ";"
Set rs = Conn.Execute(strSQL2)
---------------------------------------------------------
Background info - Have successfully used same code (with different SQL string) earlier on page. Conn is a microsoft jet OLE connection. Any fields ending in 'ID' are of LONG datatype. Any others are strings.
Any help much appreciated!!
-----------------------------------------------
strSQL2 = "SELECT tblSubCat.SUBCATID, tblSubCat.CODE FROM tblComplaintType, tblSubCat, tblCategory WHERE "
strSQL2 = strSQL2 & "tblCategory.CATID = tblSubCat.CATEGORYID AND "
strSQL2 = strSQL2 & "tblCategory.COMPLAINTTYPEID = tblComplaintType.COMPLAINTTYPEID AND "
strSQL2 = strSQL2 & "tblComplaintType.COMPLAINTTYPEID=" &
Request.Form("cboReconType"
Set rs = Conn.Execute(strSQL2)
---------------------------------------------------------
Background info - Have successfully used same code (with different SQL string) earlier on page. Conn is a microsoft jet OLE connection. Any fields ending in 'ID' are of LONG datatype. Any others are strings.