Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Feature is not available
Message
 
To
13/01/2000 10:25:53
Razvan Alexandru
Soft Team Solutions Srl
Bucharest, Romania
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00317612
Message ID:
00317619
Views:
15
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform