Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does VFP 9 have this feature?
Message
 
 
To
06/10/2004 10:05:10
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00949117
Message ID:
00949174
Views:
19
Hi Tore,

Basically you are suggesting for me to do what I thought VFPT should do <g>. Just kidding. Seriously, I understand the concept but probably will use the "packaging" to .EXE approach for now, simply because it would take less time to implement. Thank you so much for your suggestion (I might try it just to see how it will work, when I have more time).

>Hi Dmitry,
>
>since a frx is in deed a dbf, but with another expension, you can make do something like this, in semicode:
>use <somefrx>
>copy stru to masterfrx.frx
>use masterfrx
>add a field called reportname
>loop start
> lnRecord=recno()
> append from firstfrx && then secondfrx and so on
> goto lnRecord
> repl rest reportname with 'firstfrx'
>loop end
>Then to report you do like this:
>lcFilename=somename.frx
>use masterfrx.frx
>copy to (lcFilename) for reportname=yourreport
>report form (lcFilename)
>eras (lcFilename)
>
>All this is semicode, but I guess you understand the idea. You may have to change my semicode in order to create 'real' report.frx files.
>
>
>>I understand you that one way is to place all reports in a folder like "reports." But I think it does not look good when the customer sees all the 800 files (2 for each 400 reports). I think there is more "opportunity" for one of the files to get corrupted or deleted. This is why I was looking for a way to "package" all reports into one file.
>>
>>>why do you want to store the reports in the EXE?
>>>If there is a modification the frx file resiting in a subdictionary like "reports" is much better. You just change the file and you dont have to recomile the EXE.Different users can have one exe but differnt reports.
>>>reports can be managed by a report table.
>>>we have manny customers and app 400 reports no Problem
>>>
>>>dirk
"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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform