Saving new records with only default field values

I

Ian King

This is something that's puzzled me for a while, but have been too
embarrassed to ask for help with!!

I have a main form called Audit, with a subform AuditDetail. The fields on
the main form can all be set to default values, eg Date(), Auditor,
AuditItem etc. However, I am unable to enter data in the subform until I
edit a field on the parent form.

Saving the record on LostFocus doesn't work - am I missing something?

TIA

Ian King
 
A

Allen Browne

Ian, you need to dirty the new record in order to have something going,
e.g.:
Me.AutoDate = Date
Me.Dirty = False
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top