As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at email@example.com and provide your corporate email address, company, and name.
You can easily calculate these dates in a procedure. Once you have done so, you can call that procedure as a pre-processing procedure in Report Caster.
I have a report where I calculate some parameters using SQL. Then, I read those parameters into my variables in the pre-processing procedure something like this:
TABLE FILE SQLOUT
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE HOLD AS PARAMS FORMAT ALPHA
-READ PARAMS &aidy.A4. &payno.A2. &year.A4. &period.A3.
In your case it might be easier to do the necessary calculations using Dialog Manager code rather than SQL or FOCUS.
WebFocus 8201m on Windows; App Studio 8201; Procedures: WebFocus with SQL; HTML Parameter Pages & Dashboard; Output: Excel, HTML, & PDF.
Posts: 88 | Location: MI | Registered: July 23, 2009