>>Mark --
>>
>>You are welcome. The reason that it didn't work with "Init" is that you were calling a UDF and that puts any SET commands in the UDF out of scope to the forms datasession (when it is set Private)....at least I think that's the explanation.
>>
>Hi John,
>
>I believe it maybe the firing sequence of the events. By the time the form's .Init fires, the tables are already open, and their environment established.
You can also put the SET commands in the form LOAD method.