Wapug Registered User. Local time Today, 04:48 Joined Apr 14, 2017 Messages 51 Jan 29, 2018 #1 I have a field expression for a query as follows QR#:[TOTAL*0.02 this this obviously returns 2% of my total field. My desire is to get the number 1 if the result is less than 1. How would I go about this?
I have a field expression for a query as follows QR#:[TOTAL*0.02 this this obviously returns 2% of my total field. My desire is to get the number 1 if the result is less than 1. How would I go about this?
Wapug Registered User. Local time Today, 04:48 Joined Apr 14, 2017 Messages 51 Jan 29, 2018 #2 sorry typo QR#:[TOTAL]*0.02
S sxschech Registered User. Local time Today, 01:48 Joined Mar 2, 2010 Messages 807 Jan 29, 2018 #3 if you literally want to have a number less than one be one, could you do: Code: QR_No:iif(([TOTAL]*0.02)<1,1,[TOTAL]*0.02)
if you literally want to have a number less than one be one, could you do: Code: QR_No:iif(([TOTAL]*0.02)<1,1,[TOTAL]*0.02)
Wapug Registered User. Local time Today, 04:48 Joined Apr 14, 2017 Messages 51 Jan 29, 2018 #4 Thank you immensely!! I probably should know that but of course I didn’t. I appreciate your time.