would like a bit of help on this one here is my sql query:
"SELECT Contacts_ID, Campaign_ID, Name, Address1, Address2, Town, Contact_name, Telephone " & _
"FROM Contacts " & _
"WHERE " & fld_searchby & " LIKE '%" & txt_searchfor & "%' AND Campaign_ID = " & icampaign & " " & _
"ORDER BY Contacts_ID "
i have tried to page through this recordset but it either tells me i havent put in the variables fld_searchby and txt_searchfor. however when i put them in, through querystrings, each page when moving through the recordset brings back the same page as if it was opening the recordset for the first time.
just a bit confused
cheers in advance
storm
"SELECT Contacts_ID, Campaign_ID, Name, Address1, Address2, Town, Contact_name, Telephone " & _
"FROM Contacts " & _
"WHERE " & fld_searchby & " LIKE '%" & txt_searchfor & "%' AND Campaign_ID = " & icampaign & " " & _
"ORDER BY Contacts_ID "
i have tried to page through this recordset but it either tells me i havent put in the variables fld_searchby and txt_searchfor. however when i put them in, through querystrings, each page when moving through the recordset brings back the same page as if it was opening the recordset for the first time.
just a bit confused
cheers in advance
storm