Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Feature is not available
Message
 
À
13/01/2000 10:25:53
Razvan Alexandru
Soft Team Solutions Srl
Bucharest, Roumanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00317612
Message ID:
00317619
Vues:
12
>I have a procedure. Is stored in a .DBF file.
>I want to create a .PRG file and I run it.
>
>Code:
>This procedure create a .prg file, compile and run it.
>
>PROCEDURE CreateAndRun
> LOCAL cT_Rela, cR_Rela, cProcedure, nSize, nFile, cProgram
> cT_Rela = RelaSQL.T_Rela && memo field
> cR_Rela = RelaSQL.R_Rela && memo field
>
> cProcedure = cT_Rela+CHR(13)+cR_Rela
> nSize = LEN(cProgram)
> nFile=FCREATE("XXX.PRG")
> =FCHSIZE(nFile,nSize)
> =FPUTS(nFile, cProcedure , nSize)
> =FCLOSE(nFile)
>
> COMPILE xxx.prg
> DO xxx.prg
>
>ENDPROC
>
>If run this procedure from VFP it't OK.
>But if I run this procedure from run-time version it not good.
>
>How can i run xxx.prg (from run-time version)???

It sounds like this is VFP before version 6.0 SP3. Is this the case?
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