>Firstly, thanks for you 2 to help me. I think rebuild the project will be a clear way to solve my problem. But I really want to try George's method.
>I have done 1 & 2 in the command window:
>1. use xxxx.pjx
>2. AFIELDS(gaMyArray)
>But I don't know how to "create a cursor from the array" and "append from the corrupted project.", can you show me some hints or list the commands to me?
>
>
>Thanks for help
Hi Power,
After you've created the array using AFIELDS(), you can use the following:
CREATE CURSOR Foo FROM ARRAY a_fields
APPEND FROM (GETFILE('PJX'))
COPY TO Newproj.pjx
CLOSE DATABASES
MODI PROJ NewProj
That's all there is to it. Be sure, however, to include the PJX extension so that the PJT memo file will be created. Otherwise, you'll have to re-name the files with the appropriate extensions.
George
Ubi caritas et amor, deus ibi est