Skip to main content

Is this code correct? It currently hides the footer when the count exceeds 3. I tried using <= 5, but it still hides the output when the count is 3

 

this record data is only 4 but it hides the footer

 

Hi @jhoncandare04 

 

Have you tried just one IIF() statement?

 

i.e. IIF(CountuARTran.InventoryID] < 5, True, False)

 

If you look closely at your second IIF statement, you are saying that if there are less than 5, you should hide the footer.

 

It is not too clear what you are trying to achieve too, could you please clarify?

 

Hope this helps.

Aleks


Ignore my statement about the second IIF, i read the symbol wrong!


@aiwan i just want to hide the footer when it count the data is greater than or equal to 5


You will want to use something like this:

IIF(Count[ARTran.InventoryID] >= 5, True, False)


Reply