Avatar of Richard
Richard

asked on 

if expression in calculated query field

dbse uploaded.
I want to create an expression in the Invoices query.
the expression takes a figure from the Invoices amount field and divides it by three.
if the amount field is less than £100 it leaves a string "not applicable"

can you help me with the expression
trial.accdb
Microsoft AccessMicrosoft Office

Avatar of undefined
Last Comment
Richard Daneke
Avatar of Richard
Richard

ASKER

that is to say, if the invoice amount is less than £100 no one third calculation is made and the text is entered.
ASKER CERTIFIED SOLUTION
Avatar of MINDSUPERB
MINDSUPERB
Flag of Kuwait image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
SOLUTION
Avatar of Richard Daneke
Richard Daneke
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of Richard
Richard

ASKER

Thanks guys for the quick and helpful repsonse.

I notice both of you have put what looks like two letter I's as part of the If bstatement.

Is this intentiional and if so what does it do/signify?

or is it my eyesight seeing things!
Iif means imediate if. Just the syntax that is used.!!!!!!
Microsoft Access
Microsoft Access

Microsoft Access is a rapid application development (RAD) relational database tool. Access can be used for both desktop and web-based applications, and uses VBA (Visual Basic for Applications) as its coding language.

226K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo