auto populate date field

G

Greg Snidow

Greeting all. On a form I have 2 combo boxes, one for month and one for
year. I also have a text box for a date. If I use the combo boxes to choose
August 2006 on my form, how can I make the text box on the form to
autopopulate to be 8/31/2006? Basically I want the date box to autopupulate
the record with the last day of the month picked by the combo boxes. Is this
possible? Thank you.
 
S

Sylvain Lafontaine

In the After Update events of the comboboxes, change the default value for
the text control. You will find this property under the Data tab on the
properties window.

This will be good for autopopulating records that will be entered after you
have made the change to the default value.
 

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