G
GerryE
I have a form with a combo box [Quotestatus], and a subform [tblQuoteLog
subform] with [RequestedDate] field. I need help creating a code for the
after updated event of the [Quotestatus] field. When "LDS" is selected in
the [QuoteStatus] field, I want the [tblQuoteLog subform]![RequestedDate]
field to automatically fill in the current date + 5 more days. But if the
date falls on a Saturday or Sunday I need for the RequestedDate field to add
an additional 2 days. One more tricky part is that if the [QuoteStatus] is
updated after 11:45 a.m. the RequestedDate field needs to add one additional
day. Please help!
subform] with [RequestedDate] field. I need help creating a code for the
after updated event of the [Quotestatus] field. When "LDS" is selected in
the [QuoteStatus] field, I want the [tblQuoteLog subform]![RequestedDate]
field to automatically fill in the current date + 5 more days. But if the
date falls on a Saturday or Sunday I need for the RequestedDate field to add
an additional 2 days. One more tricky part is that if the [QuoteStatus] is
updated after 11:45 a.m. the RequestedDate field needs to add one additional
day. Please help!