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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Do I Set A range Limit Report with the pause button template?

Reports

How Do I Set A range Limit Report with the pause button template?

by  Gaudalier  Posted    (Edited  )
Dunno if ya have seen, but I recently needed to make a Report Range limit (From Date to Date) using the pause template and the Internal reporter. I was Using two local variables to set the Date range: LOC:StartDate and LOC:FinalDate

SomeWhat the report engine seems to ignore the range from the variables. It looks like if it's take the initial values from the Variables and show the message "No records to proccess".

Well, the way I fix it , was clearing the range limit and removing the Local variables from HotFields.

I put an embed point into the pause button:
Code:
BIND('LOC:StartDate',LOC:StartDate)
BIND('LOC:FinalDate',LOC:FinalDate)
ThisReport.AddRange(RES:SaleDate,LOC:StartDate,LOC:FinalDate)

After that, it works like a charm!

* Remember to unbind runtime variables when close the report!
Code:
UNBIND('LOC:StartDate')
UNBIND('LOC:FinalDate')
Regards!
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top