Skip to main content

stack

Last updated 22/12/2022

five.stack

Five automatically filters forms for you, however, you can use the five.stack property in your queries and functions to filter and manipulate data for your requirements.

The five.stack property works at the database-level and returns the primary keys of the associated tables for the forms stacked above the current action in the format of five.stack.<tableId>.<primaryKey>. These keys can be used to filter the records that are associated with the parent form.

During the life time of your application a user will open records, select form records, open subforms, and drill down into related forms. The five.stack property will keep track of associated data based on the tables related to the forms the user is currently working with.

Value

A reference to the stack property on the five object.

Examples

stack