Yes, it's really risky to employ both dynamic grid and temp relationships.
>Ed,
>
>Some additions to this. I had temporary Relationships in force on the grid, when the PACK was issued, I got an Illegal Operation.
>
>Kenneth.
>
>>>Is there a way to pack a table in the Data Environment that is currently used by a grid as its record source?
>>>
>>>When I tried to do it, I was able to pack it, but then, even after adding some records to the table, my grid would become all white, not showing anything.
>>
>>It's possible, but takes some additional coding: basically, you should restore grid settings (first of all, recordsource and column.controlsources) after PACKing.
>>Why do you need in this functionality? Usually, SET DELETED ON is sufficient.
Edward Pikman
Independent Consultant