hi all
right.. I have main form call frmemployee and subform call frmlcourse subform
the main form hold's employee information e.g. first name addresss
the sub form hold's all the training courses that the employee has been on
right..... now my problem
I have a text box called txtnextcourse due to display when the next course due date is
using
this works perfect but.....
I have check box on my subform called ex course if this is true
I don't want the dmin to count that record I have tried
but it does not work and I'm very lost :banghead::banghead:
thank in advance for any help
shane
right.. I have main form call frmemployee and subform call frmlcourse subform
the main form hold's employee information e.g. first name addresss
the sub form hold's all the training courses that the employee has been on
right..... now my problem
I have a text box called txtnextcourse due to display when the next course due date is
using
Code:
=DMin("Expirydate","tblcourses","[ID]=" & [empID])
I have check box on my subform called ex course if this is true
I don't want the dmin to count that record I have tried
Code:
=DMin("Expirydate","tblcourses","[ID]=" & [empID]) [forms]![frmlcourse subform]![ex course]=false
thank in advance for any help
shane