Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a Report to a Custom Reports by User
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
01687873
Message ID:
01687880
Views:
24
>>>>Hi,
>>>>
>>>>My app has many (100+) reports. There are all in the main menu Reports -> Reports Group A, Reports Group B, and so one. Under each Group there is a list or reports. Users are lost or do not know where to look for this or that report.
>>>>Plus, the users - mostly - use one to 5 reports on the regular basis.
>>>>I would like to allow them to add certain reports to a short menu list (let's call it Custom Reports). The way I envision it, a user would grab a report and drop it on the Custom Reports. Or, if necessary, delete a report from the Custom Reports list. All of the previous should be done at run time, by a user.
>>>>
>>>>Is it possible? If yes, how?
>>>>
>>>>TIA
>>>
>>>Hi Dimitry,
>>>
>>>Well, think different. Or better, normal - for a VFP guy.
>>>Do not use a menu - menu is good for not much more then 10 items, and two levels. Anything more is a pain.
>>>But hey, we have VFP! And tables! So why do you not store your reports (frx, name, entry point to data generation, groups and a priority) to a table like any other table, allow to user to alter certain fields, add, delete and let the user sort and filter and finally select the report from the table? Edit: From a grid.
>>>
>>>One could go much farther, but I keep it simple. ;)
>>>
>>>Lutz
>>
>>Thank you, Lutz.
>
>You can do that, and if you want to go a step further use a table-driven treeview.

I prefer not to change the application from using standard VFP menus to a table-driven treeview. My goal, if possible, to be able to drop a report to a report list so that the report can be run from either list.
"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
Reply
Map
View

Click here to load this message in the networking platform