Foundset question ?

Hello servoy users,

Is there someone can clarify for me foundset concept ?

When you use move sample code for controller.LoadAllRecords, you receive the following example

//Load all records in the form [b](removes any limiting foundset)[/b]
controller.loadAllRecords();

This is a little bit confusing, because documentation say that you can not expand foundset after reducing except if you go in/out developper application.

Finally, can we expand a foundset using :

controller.loadAllRecords();

after we dad reduced using:

var oper1 = controller.addFoundSetFilterParam('act_kf_cus_k_id', '=', globals.s_cus_id);
```[/b] 

<img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /> 

Thank you.

DomTom

You are mixing up things.

  1. you are working on the controller, the foundset is the resultset;
  2. loadallrecords will reload all records into the controller;
  3. what you use is a foundsetfilter. and a foundset filter can not be undone;