Good day can someone help me figure this one out!!!
I got 4 fields
ID
Opening Hours
Closing Hours
Date
for instance [Opening Hours] is 8 [Closing Hours] is 16 then my [Opening Hours] will become 16 on the new existing record by default.
I place this code on my Default value property for Opening Hours its working, but not for existing records only for new records.
=Nz(DMax("[Closing Hours]","PlantTransaction"))
What must actually happen is that I already got 4 records in a subform now when I enter record one Opening Hours 8 and Closing Hours 16 record two Opening Hours must become as default 16 not record 5 because its skipping the 4 existing records and jump automatically to a new record like record 5
Thanks in advance hope one of you guys can make my day!!!
I got 4 fields
ID
Opening Hours
Closing Hours
Date
for instance [Opening Hours] is 8 [Closing Hours] is 16 then my [Opening Hours] will become 16 on the new existing record by default.
I place this code on my Default value property for Opening Hours its working, but not for existing records only for new records.
=Nz(DMax("[Closing Hours]","PlantTransaction"))
What must actually happen is that I already got 4 records in a subform now when I enter record one Opening Hours 8 and Closing Hours 16 record two Opening Hours must become as default 16 not record 5 because its skipping the 4 existing records and jump automatically to a new record like record 5
Thanks in advance hope one of you guys can make my day!!!