G
Guest
I have a table called Renewal in my database. I am trying to load a form
called fmRenewal which will load with filtered data from a query. I would
like to read each record on this form and then compare 2 text box fields,
(1st is Me!renewalDate, 2nd is Me!meternumber) with 2 fields in the renewal
table, which have the same name as the text boxes on the form.
If the 2 fields on the form match any record in the table then do not write
this record to the table renewal. If the 2 fields differ to any record in
the table then write the record. I know how to read all the records on the
form. It’s the comparing of the records to another recordset which I cannot
implement.
Thanks
Ronnie
called fmRenewal which will load with filtered data from a query. I would
like to read each record on this form and then compare 2 text box fields,
(1st is Me!renewalDate, 2nd is Me!meternumber) with 2 fields in the renewal
table, which have the same name as the text boxes on the form.
If the 2 fields on the form match any record in the table then do not write
this record to the table renewal. If the 2 fields differ to any record in
the table then write the record. I know how to read all the records on the
form. It’s the comparing of the records to another recordset which I cannot
implement.
Thanks
Ronnie