Q
QB
I know what I want to do, but not exactly how to proceed.
I currently add a new recordset using code, but just realized that I never
verify that it doesn`t already exist and so, now I find myself with tons of
duplicates... Oh the joys of cleaning up after oneself!
I am using the following code
With Me![frm_ing]!frm_dtManuals.Form.RecordsetClone
.AddNew
![PlanifIngId] = iIngId
![dtManuelP] = dtManu
.Update
End With
I would first need to validate if the'dtManu' already exists and only
perform the .AddNew if it does not. How would I code this type of scenario?
Thank you for your help,
QB
I currently add a new recordset using code, but just realized that I never
verify that it doesn`t already exist and so, now I find myself with tons of
duplicates... Oh the joys of cleaning up after oneself!
I am using the following code
With Me![frm_ing]!frm_dtManuals.Form.RecordsetClone
.AddNew
![PlanifIngId] = iIngId
![dtManuelP] = dtManu
.Update
End With
I would first need to validate if the'dtManu' already exists and only
perform the .AddNew if it does not. How would I code this type of scenario?
Thank you for your help,
QB