Hi All,
I did search for this before posting but I didn't find what I was looking for.
..
I have a function (returning boolean) that in turn calls 2 more functions
(also returning boolean). I know I could do an if statement to see if both
are true and return true, otherwise false, but I got to thinking and I
figured there must be a shorter way to do this.
I had thought maybe math:
result = result1 + result2
but this wouldn't work the way I had thought (True + True = True) - rather -
1 + -1 = -2
Then I thought about the DMAX function (return the largest of the data set):
DMAX (True, False) = false (0)
DMAX (True, True) = True (-1)
but I read all over the these function s aren't a good idea to use over
otheres, so I thought I'd post the question...
Thanks in advance,
Corey
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200610/1