0

Number of records

I'm stuck—neither `select` nor array magic is working:

In a view of type "Cards," I want to display the number of records that have the value `true` for a specific field.

3 replies

null
    • Fred
    • 4 days ago
    • Reported - view

    If you are creating a table view, then there is no way to do a select. It just shows you all your records in a different format.

    I don't see a way to filter Cards.

    • John_Halls
    • 3 days ago
    • Reported - view

    There isn't a way to filter directly but you can use Readable if. You will need a new table (page) to hold a field to turn the filter on and off and then in Readable if put code like this

    let a := first(select Settings).FilterField;
    if a then SpecificField else true end
    

    Be aware that Readable if is a global setting. Every portion of your application for every user will be affected by this, not just your card view.

    Regards John

    • andreas_boettger
    • 3 days ago
    • Reported - view

    Thanks for the answers and suggestions. I'll mull it over a bit more.

Content aside

  • 3 days agoLast active
  • 3Replies
  • 39Views
  • 3 Following