DateAdd function for SubForm

J

jacecrocker

I have a form with a 2 tabbed control. First tab has a subform and a
subsubform. Second has a subform.

I want to take the number field[FreightDays] on the main form and add
it to the date field[Shipped] on the subsubform to create ETA. I
understand the DateAdd function but not quite sure how to accomplish
this.

Thanks,

Jace
 
M

Marshall Barton

I have a form with a 2 tabbed control. First tab has a subform and a
subsubform. Second has a subform.

I want to take the number field[FreightDays] on the main form and add
it to the date field[Shipped] on the subsubform to create ETA. I
understand the DateAdd function but not quite sure how to accomplish
this.


You can use a text box expression to display the ETA using
an expression like:

=DateAdd("d'", [FreightDays] +
subform1.Form.subsubform.Form.Shipped)
 

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