Can anyone tell me why this code keeps giving me the "line" value for the first rec in the recordset not for the one I have just found using rstQuote.Find
rstquote.Find "id=" & Myid
MyLineNo = DMax("line", "tblnquote_d", rstquote!line) + 1
rstquote.Find "id=" & Myid
MyLineNo = DMax("line", "tblnquote_d", rstquote!line) + 1