You’ve failed to tell us what environment you’re working in.
Is this a query in Access or what???
Not sure what you want – this would return a -1 if DataOrigin = 2 and a 0 if not
This would return the words Nothing if true or Everything if false.
The type of both return values must be the same.
Wish I could help you more but you haven’t been very clear in your request.