>>>I'm using a Grid to display the content of 3 fields
>>>from a temporary file. The file is created after the user presses "Add" and only then the grid becomes visible to the user. The temporary file is erased when the user exits the form. The RecordSource and ControlSource properties are changed immediately after pressing "Add" and everything works fine in the first round.
>>>
>>>However, in the second round, when the I attempt to press "Add" again, the same procedure that worked fine before, fails: Instead of displaying just 3 fields, the grid displays all of the fields of the temporary file in disable colors. It's as if the propgram ignores the same commands it recognized before.
>>
>>Erez
>>
>>How are you creating the Temp files?
>>
>>Tom
What I meant is are you using Cursors or Views. If not using one of these then I strongly reccommend you do.
HTH,
Tom