Hi there
I have the following scenario - a form which is basically an 'invoice' - and this contains a subform with one or more items in it, that belong to this invoice. Each of these sub-form items has a 'ItemClearDate', which is marked manually by the user when each of the items is 'cleared' by the finance department.
The main form has a field from the invoice table called 'AllItemsClearedDate'. This field should be filled in with the date when ALL items in the subform are marked with a date, and as such are all clear - or when all subform 'ItemClearDates' are NOT null.
This would also populate the AllItemsClearedDate field in the 'Invoice' table, with a date.
Can someone give me some tips on how to do this?
It's been a while since i've done any VBA, and would appreciate some help.
Many thanks!
Eddie
I have the following scenario - a form which is basically an 'invoice' - and this contains a subform with one or more items in it, that belong to this invoice. Each of these sub-form items has a 'ItemClearDate', which is marked manually by the user when each of the items is 'cleared' by the finance department.
The main form has a field from the invoice table called 'AllItemsClearedDate'. This field should be filled in with the date when ALL items in the subform are marked with a date, and as such are all clear - or when all subform 'ItemClearDates' are NOT null.
This would also populate the AllItemsClearedDate field in the 'Invoice' table, with a date.
Can someone give me some tips on how to do this?
It's been a while since i've done any VBA, and would appreciate some help.
Many thanks!
Eddie
Last edited: