E
EMILYTAN via AccessMonster.com
Can't get the date calculated based on other table...
It just return me the value of calDate...
Private Sub Form_Current()Dim calDate As DatecalDate = CDate(Nz(Me.
cboCalibrationDate))Me!txtShelflifeExpiry = DateAdd("d", Nz(DLookup("Days",
"Inventory", "PartNumber=" & cboPartNumber), 0), calDate)End Sub
It just return me the value of calDate...
Private Sub Form_Current()Dim calDate As DatecalDate = CDate(Nz(Me.
cboCalibrationDate))Me!txtShelflifeExpiry = DateAdd("d", Nz(DLookup("Days",
"Inventory", "PartNumber=" & cboPartNumber), 0), calDate)End Sub