cLng(NZ([Forms]![FrmTracker].form![NumberOf Remaining Units],0))
Form_FrmTracker.Remaining
If you don't have code behind just press the button of code...just to enter the VBE environment and leave...that would be enough
If Nz(Me![NumberOf Remaining Units].Value, 0) < 100 Then
MsgBox "Number of units must be larger than 100", vbInformation + vbOkOnly, "Remaining Units"
End If
/gustav
the subform itself is where the subform control is ... its position, size, etc
assuming your subform control Name IS the same as the SourceObject it contains:
Open in new window