A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

what does =llf([District]) do in a report



 
 
Thread Tools Display Modes
  #1  
Old August 24th, 2009, 09:43 PM posted to microsoft.public.access.reports
El Boracho
external usenet poster
 
Posts: 1
Default what does =llf([District]) do in a report

I've looked everywhere and cannot find out what the "=llf" means or does.
  #2  
Old August 24th, 2009, 10:22 PM posted to microsoft.public.access.reports
Damon Heron[_3_]
external usenet poster
 
Posts: 257
Default what does =llf([District]) do in a report

You've looked everywhere? Including the Access help?
anyway,
IIF is a function
IIF(expr, truepart, falsepart)
like:
sometxtbox =(somenumber 1000, "true", "false")
where it tests a variable (somenumber) and returns true or false if value is
greater than 1000.
your function is missing the required true and false parts.

Damon

"El Boracho" wrote in message
...
I've looked everywhere and cannot find out what the "=llf" means or does.



  #3  
Old August 26th, 2009, 01:18 AM posted to microsoft.public.access.reports
MichaelTX
external usenet poster
 
Posts: 1
Default what does =llf([District]) do in a report

The reason your not finding anything is because you're typing 'LLF' (llf)
instead of 'IIF' (iif). This stands for an 'Immediate If' function.

It has three parameters. The criteria, value if true, and value if false.

For example:

IIF([myfield] 10, "This is a large number", "This is a small number")

This would be similar to typing:

Public Function fctCheckNumber(intNumber As Integer) As String
If intNumber 10 Then
fctCheckNumber = "This is a large number"
Else
fctCheckNumber = "This is a small number"
End If
End Function

---------

El Boracho wrote:
I've looked everywhere and cannot find out what the "=llf" means or does.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:51 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.