I have this query but it comes up with an Expected end of statement fault. Here is the query
strSQL1 = "SELECT * FROM tblPRICEBANDS, tblCOTTAGES WHERE tblPRICEBANDS.fldPRICEBAND = tblCOTTAGES.fldPRICEBAND AND tblPRICEBANDS.fldPRICEBAND = '" & strPRICEBAND "' & tblCOTTAGES.fldPROP_NO = '" & strPROP_NO '"
Here is the line from the previous page which passes the information accross
<A HREF="test3.asp? NO =<%=objRs("fldProp_NO")%> & PB =<%=objRs("fldPriceband")%>">More Info</A></td>
strSQL1 = "SELECT * FROM tblPRICEBANDS, tblCOTTAGES WHERE tblPRICEBANDS.fldPRICEBAND = tblCOTTAGES.fldPRICEBAND AND tblPRICEBANDS.fldPRICEBAND = '" & strPRICEBAND "' & tblCOTTAGES.fldPROP_NO = '" & strPROP_NO '"
Here is the line from the previous page which passes the information accross
<A HREF="test3.asp? NO =<%=objRs("fldProp_NO")%> & PB =<%=objRs("fldPriceband")%>">More Info</A></td>