Date insert via a command button

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I'm trying to insert the current date in a subform date field via a command button on the main form.

The code behind the command button is

Forms!frmProspectMain!frmInquiry.FollowupDate = Dat

The error I get is: 'Object doesn't support this property or method

Does anyone see the problem

Thanks
Jod
 
H

The naming method for a field in a sub form is
Forms!ParentForm!ChildForm.Form!NameOfFiel
 
Back
Top