I'm adding record to the table which has automatically numbered field: cust_id. How can I find whot number is in this field of just inserted record. Code
SQLstr = "Insert into customer ([f_name],[l_name]) Values('" & str_F_Name & "','" & str_L_Name & "');"
CurrentDb.Execute SQLstr
cust_id=?
Andrew
SQLstr = "Insert into customer ([f_name],[l_name]) Values('" & str_F_Name & "','" & str_L_Name & "');"
CurrentDb.Execute SQLstr
cust_id=?
Andrew