Hi,
I use the following code which works ok.
Dim db as Database
Dim rs as Recordset
Dim strSql as String
strSql = "Select * From tblProducts Where ProductID = " & Me.txtproductID
set db = currendDb
set rs = db.OpenRecordset(dtrSql,dbOpenDynaset)
with rs
.edit
.
.
End with
rs.close
How can I redo strSql so where it will select a recordn that match the values of my threee txtboxs on a form
something like this
srtSql = ("Select * From tblProducts where productId = me.txtproductid And where partNo = me.txtPartNo and where Size = me.txtSize)
Can anyone help????
Duf
I use the following code which works ok.
Dim db as Database
Dim rs as Recordset
Dim strSql as String
strSql = "Select * From tblProducts Where ProductID = " & Me.txtproductID
set db = currendDb
set rs = db.OpenRecordset(dtrSql,dbOpenDynaset)
with rs
.edit
.
.
End with
rs.close
How can I redo strSql so where it will select a recordn that match the values of my threee txtboxs on a form
something like this
srtSql = ("Select * From tblProducts where productId = me.txtproductid And where partNo = me.txtPartNo and where Size = me.txtSize)
Can anyone help????
Duf