I was recently burned by not thinking to add a call to databaseManager.setCreateEmptyFormFoundsets() to the onSolutionOpen method of one of my solution. That “SELECT pk FROM table” query really starts to take it’s toll when you’ve got a few million records in your table.
I know you can set up your forms individually to not have this behaviour, but in my experience when first visiting a form we want one of two things: empty foundset or the result of a search, leaving very little room left for wanting to show up on a form and just have it load all the records for me as a default behaviour.
So I got curious what the rest of the community was doing and if I just wasn’t thinking of all those times when you do actually want ALL the records.
If you don’t use databaseManager.setCreateEmptyFormFoundsets(), enlighten me and share your story; inquiring minds want to know.
- Always
- Usually
- Sometimes
- Never
- I don’t know what you’re talking about