G
Guest
hi all
Hope someone out there can hel
Set rst1 = dbs.OpenRecordset("SELECT tblControlNoParts.ControlNo, tblControlNoParts.LineNo, tblControlNoParts.PartNo " & _ "FROM tblControlNoParts WHERE (((tblControlNoParts.ControlNo)=[Forms]![frmControlNoParts]![ControlNo]))"
is giving me a Too Few Paramaters error Expected 1
If I take the where clause out I'm fine. I'm not sure what parameter it's looking for. I think it's looking for dbOpenTable or something at the end, but that one doesn't work - what is another to try
Thanks in advanc
Joan
Hope someone out there can hel
Set rst1 = dbs.OpenRecordset("SELECT tblControlNoParts.ControlNo, tblControlNoParts.LineNo, tblControlNoParts.PartNo " & _ "FROM tblControlNoParts WHERE (((tblControlNoParts.ControlNo)=[Forms]![frmControlNoParts]![ControlNo]))"
is giving me a Too Few Paramaters error Expected 1
If I take the where clause out I'm fine. I'm not sure what parameter it's looking for. I think it's looking for dbOpenTable or something at the end, but that one doesn't work - what is another to try
Thanks in advanc
Joan