Here's the code:
- Code: Select all
var success = controller.addFoundSetFilterParam('local_client_id', '=', 'globals.current_user_client_id');
controller.loadAllRecords();//to make param(s) effective
I have a "Show All" button that includes "controller.loadAllRecords()" among its instructions. Counter intuitively it loads zero records. And as long as I remain in that table (any form) I cannot re-establish any records, any forms. However, I can go to a different table and then return. Now the appropriate records are loaded, no problem.
I sense I'm misunderstanding something fundamental.