I have a table named Jobs and a field in that table named CatName. If I wish to open a recordset which selects all the records which has a CatName equal to a variable named SStr I set the following query :<br>Set rsCatItems = dbWorkshop.OpenRecordset("Select * from jobs where catname = SStr", dbOpenDynaset)<br>I then get an error no 3061 : Too few parameters : expected 1<br>Can someone please help me to get the correct syntax <p>PK Odendaal<br><a href=mailto: pko@mweb.co.za> pko@mweb.co.za</a><br><a href= > </a><br>