Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple (()) issue

Status
Not open for further replies.

Tekhelpnet

Technical User
Joined
Oct 9, 2007
Messages
63
Location
US
Can someone see what is wrong witht his formula?
IIF(ISNUll([GRADE_FROM], [GRADE_TO], [GRADE_FROM] & " - " & [GRADE_TO])
OR
IIF(ISNUll([GRADE_TO] , [GRADE_FROM], [GRADE_FROM] & " - " & [GRADE_TO])

Thanks
 
I count three ")", never a good sign. isnull([Grade_To])
 
Code:
IIF(ISNUll([GRADE_FROM][COLOR=red][b])[/b][/color], [GRADE_TO], [GRADE_FROM] & " - " & [GRADE_TO])

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Am I blind? Let's see...Oh! I see thanks!
However it doesn't work yet...

IIF(ISNUll([GRADE_FROM]), [GRADE_TO], [GRADE_FROM]
& " - " & [GRADE_TO])
OR

IIF(ISNUll([GRADE_TO]) , [GRADE_FROM], [GRADE_FROM]
& " - " & [GRADE_TO])
NO LUCK with
IIF(ISNUll([GRADE_FROM]), [GRADE_TO], [GRADE_FROM] & " - " & [GRADE_TO])
OR
IIF(ISNUll([GRADE_TO]) , [GRADE_FROM], [GRADE_FROM] & " - " & [GRADE_TO])
 
Had changed it - error anyway:
=(IIf(IsNull([GRADE_FROM]),[GRADE_TO],[GRADE_FROM])) & " - " & (IIf(IsNull([GRADE_TO]),[GRADE_FROM],[GRADE_TO]))
 
=IIf(IsNull([GRADE_FROM]),[GRADE_TO],[GRADE_FROM])) & " - " & IIf(IsNull([GRADE_TO]),[GRADE_FROM],[GRADE_TO]))

The early bird may get the worm, but the second mouse gets the cheese in the trap.
 
tOO MANY CLOSING PARENTESSES EROOR! tHANKS AND SORRY
 
OOPS

=IIf(IsNull([GRADE_FROM]),[GRADE_TO],[GRADE_FROM]) & " - " & IIf(IsNull([GRADE_TO]),[GRADE_FROM],[GRADE_TO])

The early bird may get the worm, but the second mouse gets the cheese in the trap.
 
WHYWHYWHY it showing #error????????

Thanks for trying!
 
Sheesh! #error is usually caused by mis-spelled field names (sometimes I even find that I spelled the field on the table something different than I remember), or datatype mismatch. How frustrating!!!


[pc]


The early bird may get the worm, but the second mouse gets the cheese in the trap.
 
I am actually selecting the name from the drop down menu.
:-(
 
You wanna laugh?
I took out = and it works a charm!
Thanks and please, comment if you wish!
 
Cool - this Bud's for you!
[cheers]

The early bird may get the worm, but the second mouse gets the cheese in the trap.
 
A simpler way:
Nz([GRADE_FROM],[GRADE_TO]) & " - " & Nz([GRADE_TO],[GRADE_FROM])

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top