Changing DS in a form is risky business in that your controls can become unbound from their ControlSource. Regardless, the command,
set datasession to 1 or some other valid number, should be valid.
>Ah! I see where I'm confused now. I change the datasesion in a generic tableupdate method of oApp. That's why the datasesions change when I access the nextkey method ...
>
>Thanks.
>
>Still does not explain why set datasession is ignored in the form though :)
>
>Ah well...
>
>Marc
Mark McCasland
Midlothian, TX USA