Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add "To and From Dates" on the Report Header / Paradox

Status
Not open for further replies.

elevator

Programmer
Apr 23, 2002
19
US
Add "To and From Dates" on the Report Header using Paradox.
I need to add the variable dates STARTDATE and STOPDATE
to my Report Header. I am using a pushButton on my form.
Right now the the center of the header has <Projectname>

Someone please reply with instructions. Thankyou.
 
There are several ways of doing this but the simplest is to edit the report and add a text object (called eg.daterange) where ever you want it. Save but don't deliver the report. In your pushbutton

r.load(&quot;reportname.rsl&quot;, winstylehidden)
r.daterange.text = &quot;From &quot; + string(startdate) + &quot; to &quot; + string(enddate)
r.save()
r.run()
r.bringTotop()
r.show()


If you must deliver the report then take look at environment variables or a table just to contain the title and subtitle.

Richie


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top