Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does VFP 9 have this feature?
Message
De
06/10/2004 09:20:20
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00949117
Message ID:
00949143
Vues:
17
If I may ask another question, please (I thought ADDBS was what I was looking for but it is not).

Say the main app is MYMAINAPP.EXE and the reports are in MYREP.EXE. Do you call MYREP.EXE from MYMAINAPP.EXE as "DO MYREP.EXE WITH lParameter"? That is, the code that extracts the report is in MYREP.EXE, right?


>
lcTempFileName = ADDBS(SYS(2023)) + SYS(2015)
>USE myreport.frx
>COPY TO (lcTempFileName)
>USE
>
>>Sergey,
>>
>>How do you export a report from an external .exe? There must a command I don't know, I will be looking for it in the help file but if you can give me a clue, I would appreciate it.
>>
>>Thank you for your help.
>>
>>>You can do that in any VFP version by storing all reports in the separate EXE and having main program of that exe export requested report (.FRX, .FRT) to a temp. file and returning thenname of that file to your main application.
>>>
>>>>Does or will VFP 9 have a feature where you could "package" VFP reports into one file? Similar how you can have many classes in one class library.
>>>>
>>>>The reason I am asking is my app has close to 100 reports and they are all included in the .EXE. I want to make .EXE smaller and provide report files excluded from the .EXE. But that would require to store many, many .frx files on the application drive. This is not really (I don't think) technically prohibitive but it would "look" better if the report were all in one report "library.".
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform