Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I bring up 'Report Controls' tool-bar in my app?
Message
 
To
12/10/2000 12:38:55
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00428151
Message ID:
00429061
Views:
20
>Hi Tom.
>
>>I would like to open the 'Report Controls' toolbar. I use the command SHOW WINDOW 'Report Controls'. According to the help file, it is supposed to work 'if the window is defined'. But the window does not exist, and the command crashes.
>
>You have to create a resource file that contains a reference to this toolbar, then use that as the resource file for the application. Here's how I did it:
>
>- copied FOXUSER.DBF/FPT to MYRESO.DBF/FPT, then zapped this new table
>- SET RESO TO MYRESO
>- MODI REPO ANYTHING
>- bring up the desired toolbars (Report Controls, Layout, Color Palette, etc.)
>- close the Report Designer
>- SET RESO TO
>
>If you browse MYRESO, you'll see records for the toolbars. Include MYRESO.DBF in your app. Then, just before the MODI REPO command in your app, do a SET RESO TO MYRESO.
>
>Doug
---------------------------
Thanks, Doug.

Since sending my original message, I did find the resource file entry and I put .t. in the READONLY column, and it did what I wanted. But your idea of switching resource files just before the MODI REPO, and putting it is the APP is excellent.

Tom
Tom Green in Montreal
Previous
Reply
Map
View

Click here to load this message in the networking platform