AfterUpdate (1 Viewer)

MaleNurse325

Registered User.
Local time
Today, 14:43
Joined
Jan 11, 2016
Messages
67
Hi,
I have a form on which are two fields [MedDate] and [MedBooked]

I am tying to input short code to clear the contents of [MedDate] when [MedBooked] is updated. I know it is an AfterUpdate but cannot get it to work. :banghead:
 

Minty

AWF VIP
Local time
Today, 21:43
Joined
Jul 26, 2013
Messages
10,355
So what have you tried ? Something simple like

Me.MedDate = Null

Would probably work. Although why delete it - it provides a measure of how long it took from MedDate to MedBooked ?
 

MaleNurse325

Registered User.
Local time
Today, 14:43
Joined
Jan 11, 2016
Messages
67
.I will try that
Once the [MedBooked] is updated the previous Medical date [MedDate] is redundant
 

gemma-the-husky

Super Moderator
Staff member
Local time
Today, 21:43
Joined
Sep 12, 2006
Messages
15,614
I agree with Minty. why clear it at all? it might be useful to know the difference at some point

data is expensive to capture. I am always reluctant to discard any data.
 

Users who are viewing this thread

Top Bottom