>I think it is great that we can have private datasessions, with independent SET settings (cf. set DATE, set DATASESSION, etc.), but what I do not understand is why they are reset to some defaults each time other objects are invoked, let allone instantiated.
>
>Would it not have been easier if these SETS simply kept their values unless they are changed.?
>
>Does anybody understand why this was been implemented the way it was, and is there an easy way around this or _do_ we have to handle these SETS on an ad hoc basis, if we use local datasessions in our forms.
>
>TIA
>
>Marc
I normaly put a call to a user funcion, or metod, in the beforeopentables() metod in the datassesion of the form. I do not know if it is the best way, but it works and it´s easy to mantain and change if you have the function in a "set procedure to " refrenced program.
if somebody have another way, let me know, please.