Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report with 2 databases?
Message
From
08/10/1998 08:51:31
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00144954
Message ID:
00144968
Views:
24
>vfp 3.0 win 98
>
>Hello All,
>
>I have a report that prints out a record from a database.
>I recently added a new heading to the report to display
>customized company info. ie company name address etc.
>
>How can I get this report to print the last record in
>the custom database and print 1 record from a pageframe?
>
>I have tried adding the custom database to the report
>and setting up fields on the heading with no luck. Where
>do I place the code to tell the report to print the last
>record for the custom database?
>
>Thanks and have a good day!
>
>Becky

I am not sure that I understand you. However, if you want to put some heading/footing, i.e. just one permanent 'label' on report form, you can put into local variable and run report form which will include field with expression based on this variable:
LOCAL cHeaderstring
set database to dataX
cHeaderstring="tableX.fieldX"
set database to current
report from myform to print
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform