Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default form.field value based on value in another form

Status
Not open for further replies.
Jul 21, 2009
29
US
In a date field in an Invoice form, the user enters a value. Then they move to a Line Item form which also has a date field.

How can I get the date field in the LIneItem form default to the entry in the Invoice.Date form-field?

The system is set so that the user makes entries in the Invoice form and then a button opens another form for the LineItem entries. Thus, when the LineItem form opens, the Invoice form will be open and a value will exist in the Date field which I want to be the default in the Date field of the LineItem form.
 
Set the DefaultValue property of the Date field of the LineItem form to something like this:
=Forms![Invoice form]![date control]

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top