I am trying to get the code to return "Duplicate" if a duplicate is found, it is not working, I have separated the criteria and found that it is the date part that is the problem. Here is my code and it is returning "0" even though there are duplicates in the table.
y = DCount("ParticipantID", "Forums", "ForumDate = #" & Me.ForumDate & "#")
I have been trying to rectify this problem for over a week and would really appreciate it if someone could advise me of where my code is incorrect.
Thanks
y = DCount("ParticipantID", "Forums", "ForumDate = #" & Me.ForumDate & "#")
I have been trying to rectify this problem for over a week and would really appreciate it if someone could advise me of where my code is incorrect.
Thanks