OPAL 4.5 - Importing Text to a Report 
Author Message
 OPAL 4.5 - Importing Text to a Report
I've designed a form with an embedded query and subsequent call to an
external report to generate a user-input date range report.  I want the
user to be able to specify a title for the report, but I haven't figured
out how to pass the title text from the form to the report.  Any pointers?

El



Tue, 07 Jul 1998 03:00:00 GMT
 OPAL 4.5 - Importing Text to a Report


: I've designed a form with an embedded query and subsequent call to an
: external report to generate a user-input date range report.  I want the
: user to be able to specify a title for the report, but I haven't figured
: out how to pass the title text from the form to the report.  Any pointers?

You can do this in at least 2 ways...

First off, you'll have to have them input the title.

Method 1 - use wri{*filter*}vironmentString and write the title to an
environment variable.  Then, in the report, place an unbound field, make
it calculated, and have it call readEnvironmentString

Method 2 - Using a named, unbound field, say something like:

r.open("report.rsl")
r.namedfield = string
r.print()

(Come to think of it, I think #2 will work - might need some slight
modification, though.)

Andrew
--
Andrew Bennett



Wed, 08 Jul 1998 03:00:00 GMT
 OPAL 4.5 - Importing Text to a Report
I use wri{*filter*}vironmentString and readEnvironmentString.
Before you call your report

wri{*filter*}vironmentString("Report_title", "This Is a Sample Header")

Then in the report create a calculated field with

readEnvironmentString("Report_title")


Quote:
>I've designed a form with an embedded query and subsequent call to an
>external report to generate a user-input date range report.  I want the
>user to be able to specify a title for the report, but I haven't figured
>out how to pass the title text from the form to the report.  Any pointers?

>El

LeeVern Beck

Grants Pass, Oregon USA


Sat, 11 Jul 1998 03:00:00 GMT
 
 [ 3 post ] 

 Relevant Pages 

1. (PFW 4.5) Text attributes from OPAL

2. PXW(4.5) Attaching a specific table with a report in OPAL

3. embeded ascii text in pdox dos 4.5 report

4. How do I import a delimited text file via OPAL (v4.5)

5. IMPORT PARADOX FOR DOS V 4.5 INTO PDOXWIN 4.5

6. FS: Crystal Reports Pro 4.5, Standard 4.5

7. Passing variables between multiple forms - OPAL 4.5

8. Pardox 7 4.5 forms skipping OPAL code when run on Paradox 7.0

9. Problem using PDOXWIN 4.5 OPAL compact()

10. VB DoEvents() in PDOXWIN 4.5 OPAL???

11. OPAL 4.5 help!

12. Can OPAL 4.5 detectd a corrupted table?


 
Powered by phpBB® Forum Software