compile errors?

V

Victoria

I'm running a standard module in Access 2000 and am
getting a compile error that wasn't happening before.

Compile error. in query expression 'getconsent
([CommentType],[DaysBetween])'.

The module is
Public Function getconsent(CommentType, DaysBetween)
If CommentType = "CASE MANAGEMENT CONSENT" And DaysBetween
< 1 Then
getconsent = 1
Else: getconsent = 0
End If
End Function

Anyone have any idea what I'm doing wrong??

Thank you!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top