SELECT * FROM tblLabor WHERE tblLabor.UserGr oup=SetUserGrou pCriteria()
I have something similar to this in a query that I'm using. I want SetUserGroupCri teria() to return something along the lines of
[Like "CA*" and Not like "RN*"] Unfortunately SetUserGroupCri teria() returns a string that looks like ["Like "CA*" and Not like "RN*""], and the keyword Like gets thrown in front of this whole mess automatically, thus making it say:
Like "Like "CA*" and Not like "RN*"". Needless to say, this is not desirable. Is there anything I can do to correct his?
I have something similar to this in a query that I'm using. I want SetUserGroupCri teria() to return something along the lines of
[Like "CA*" and Not like "RN*"] Unfortunately SetUserGroupCri teria() returns a string that looks like ["Like "CA*" and Not like "RN*""], and the keyword Like gets thrown in front of this whole mess automatically, thus making it say:
Like "Like "CA*" and Not like "RN*"". Needless to say, this is not desirable. Is there anything I can do to correct his?
Comment