good day
I have a form (Datasheet view) based on a table "Table1". I frequently moove attachments from one record to another and as a result some of the records in the table has zero attachments (no attachment). what i am trying to do is have a code or macro on the after update event of the form to delet the record if the attachment field is null or zero .
my attachment field name is 'Files'. I have tried various tqunique to refer to attacment field. like if is null, is null, count zero. I think its a bit defferent than a normal field.
can some one please help me in writing the code " if field name 'files' attachment count is zero do comand delet record". I searched google and very few examples were there
but non worked.
please help
thank you