Add View with only certain records shown

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
jamesyesjames
User
Posts: 22

Add View with only certain records shown

Post by jamesyesjames »

Hi all,

I have a table called TimeSheets and I have created a View called "all Unpaid Time sheet".
Is there a way of making that View only show records which have nothing entered into the "Paid" field.

Any help on this would be amazing, Im sure its simple but haven't found a way to do it yet!

Thank,
James


danielc
User
Posts: 1601

Post by danielc »

Use "IS NULL" to select the record. See dev.mysql.com/doc/refman/5.0/en/working-with-null.html


jamesyesjames
User
Posts: 22

Post by jamesyesjames »

Thanks again Danielc

Do I put it into the Row_rendered script?

Cheers,
James


danielc
User
Posts: 1601

Post by danielc »

This will be part of your sql (your where clause) for your view.


Post Reply