General information
Category:
Forms & Form designer
My application has report forms for invoices which are not built into the exe but reside in the data folder so they can be easily modified for different company needs.
I have added an email facility for invoices where I write to a .txt file using @ SAY and then email the text file as an attachment. By having the lowlevel (FWRITE etc) and @ SAY routine as a .prg file, also found in the data directory, it can be easily modified for customer requirements without having to make modifications to the exe.
Regards
Doug Johnston
>It would be interesting to know what you want to use it for. Quite often, you can solve the problems without dynamically creating code, simply by putting the required code into a class.
>
>>Hi,
>>
>>Is there any way to get VFP to read in some method code from a text file at run time?
>>
>>I have tried to get reasonable text output from REPORT FORM cReport TO FILE cFname ASCII, but this produces very unreliable results, so I thought perhaps put all my low level file and @ SAY stuff into a text file and read and execute this at run time.
>>
>>Regards
>>Doug Johnston
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only