Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.prt file missing or invalid.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00251221
Message ID:
00251561
Vues:
8
>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 the cursor
CREATE CURSOR Foo FROM ARRAY a_fields && a_fields is the name of the array in this case
APPEND FROM (GETFILE('PJX'))
COPY TO Newproj.pjx && Create the new project.
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform