i have created a 1st page and requested the fields, namely pname and parea, on the 2nd page. all but one of the fields are in tblproject, the other's in tblname. i need to say:
"select name from tblname where area = parea", set rs etc, and then
"select * from tblprojects where name = rs(area)...i tried to 'do while not rs.eof' and it gets stuck in a loop
i tried this:
sqlstmt = "Select * from tblproject WHERE '" & pname & "%' In (SELECT name FROM tblname WHERE area= '" & parea & "'), but it says 'Unterminated string constant'
"select name from tblname where area = parea", set rs etc, and then
"select * from tblprojects where name = rs(area)...i tried to 'do while not rs.eof' and it gets stuck in a loop
i tried this:
sqlstmt = "Select * from tblproject WHERE '" & pname & "%' In (SELECT name FROM tblname WHERE area= '" & parea & "'), but it says 'Unterminated string constant'