Dragan --
Nice simple solution for my problem. Thanks
>>I'm getting "Relation Broken" when closing a form, followed by an error on a line that's trying to do
Select someCursor
>>Am I to understand that the error occurred on the line where the relation was broken, or could the relation just have been broker earlier?
>
>You could just remove relations before closing the form, so then they can't be broken if they don't exist. Just loop through aused(), and issue a Set Relation To for each alias.
Jim Nelson
Newbury Park, CA