If Function for Queries

beginner_access

Registered User.
Local time
Today, 13:24
Joined
Aug 22, 2011
Messages
21
I would like queries to do some calculations for me based on a field. The field in the form is a combo field and the user can choose either 1, 2 or 3. Based on the selection, I would like queries to generate some numbers for me.

This is what I have in mind but its not working. Please help

Code:
TEST RESULT: If([tlkpTEST].[RESULTID])=1, ([tlkpTEST].[RESULTID])*2, 100)
 

Users who are viewing this thread

Back
Top Bottom