Greetings,
Have you checked that tblDocket.D_Date and
[Forms]![frmCash]![TxtD_date] are in the same format?
One of them might be date/time or US format.
Put this into the event to check them:
msgbox tblDocket.D_Date
msgbox [Forms]![frmCash]![TxtD_date]