Valery
Registered User.
- Local time
- Today, 02:58
- Joined
- Jun 22, 2013
- Messages
- 363
Hi all,
I need to add coding to an existing event procedure. It should do two things :
The event is set in the AfterUpdate of the following:
Name: txtMoveOutDate Control Source: tblOccupancy.MoveOutDate
If that field is updated, so not null anymore, event should say/do:
1) Set the MailList field to "0" (MailList is a checkbox)
Name: txtMailList, Control Source: MailList
2) IF the field :
Name: cboStatus, Control Source: Status
= "F", change it to "M"
Current event coding:
Thank you kindly!
I need to add coding to an existing event procedure. It should do two things :
The event is set in the AfterUpdate of the following:
Name: txtMoveOutDate Control Source: tblOccupancy.MoveOutDate
If that field is updated, so not null anymore, event should say/do:
1) Set the MailList field to "0" (MailList is a checkbox)
Name: txtMailList, Control Source: MailList
2) IF the field :
Name: cboStatus, Control Source: Status
= "F", change it to "M"
Current event coding:
Code:
Private Sub txtMoveOutDate_AfterUpdate()
MailList = 0
Me.Refresh
End Sub
Thank you kindly!