Dear Friends,
I have below table and fields in a simple DB
tblinout
FranchiseID (text)
InTime (Date/Time)
OutTime (Date/Time)
frmInOut is developed depending on tblinout. frmInOut has below controls
frnID (control source: tblinout!FranchiseID)
In (it is a DLookUp value)
Out (control source: tblinout!OutTime)
inTime (control source: tblinout!InTime)
Here I am trying to fill [inTime] with the value of [In] after update of [In] using the below code for the field InTime of tblinout
Private Sub In_AfterUpdate()
Me.inTime = Me.In
End Sub
But it is not working.
Could any one help me showing the proper way for this purpose, please?
Rana
I have below table and fields in a simple DB
tblinout
FranchiseID (text)
InTime (Date/Time)
OutTime (Date/Time)
frmInOut is developed depending on tblinout. frmInOut has below controls
frnID (control source: tblinout!FranchiseID)
In (it is a DLookUp value)
Out (control source: tblinout!OutTime)
inTime (control source: tblinout!InTime)
Here I am trying to fill [inTime] with the value of [In] after update of [In] using the below code for the field InTime of tblinout
Private Sub In_AfterUpdate()
Me.inTime = Me.In
End Sub
But it is not working.
Could any one help me showing the proper way for this purpose, please?
Rana