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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

On Control Exit set value of two other hidden controls?

Status
Not open for further replies.

capndave

Technical User
Mar 4, 2003
36
US
IN a data entry form "EnterReceipts" when the user selects value from combo in "OnReceiptStatus" and tabs to next field two other hidden controls on teh same form to be automatically filled. The first "CurrentStatus" equal to the "OnReceiptStatus" and the second, "CurrentStatusDate" to be today's date.

Thanks
 
In the AfterUpdate event procedure of the combo:
Me!CurrentStatus = Me!OnReceiptStatus
Me!CurrentStatusDate = Date()

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top