OpenFile Issue

David Thompson dthmpsn1 at uiuc.edu
Mon Apr 7 18:28:59 PDT 2008


>I did the following:
>Save  (This saves the original FileA)
>SaveAs ³FileB²
>Do my manipulations
>Save
>CloseFile
>Openfile ³FileA²
>GoSheet
>
>What happens is Panorama tells me that FileA is 
>already open and to come back later.  When I do 
>the saveas to FileB, FileA closes, so I am 
>confused by the message.
>
>I am using PC Panorama version 4.02

It sounds like a bug in Windows Panorama to me. 
It works on the latest Mac version. Another way 
to do this, that should produce the same result 
would be.

Save

/* Do manipulations */

SaveACopyAs "File B"
Revert

Another approach, if you already had a File B available would be

Save
OpenFile "File B"
OpenFile "&File A"

/* Do Manipulations */

Save
CloseFile


The first version does everything in File A and 
ends by reverting to saved. The second version 
imports the data from File A into File B, works 
on it there, saves and closes. This leaves you 
back in File A, which never closed. In the second 
version you might be able to select the records 
you wanted File B to work with before opening 
File B and doing the import. Only the selected 
records would be imported.

Dave


More information about the Qna mailing list