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

Creating a range for Name Field

Status
Not open for further replies.
Dec 11, 2009
60
US
I have a report that returns over 12,000 records. Exporting out to PDF takes forever. How can I have the report broken down by lastname. For example:

{Command.LastName} between 'A and Bo'

Need to be able to run the report by lastname to decrease the export time.

Thanks!!
 
You can use:

{table.LastName} between 'A' and 'Bp'

...to return all last names starting with A through Bo. Or set this up as a parameter:

{table.LastName} between '{?StartingLetter}' and
'{?EndingLetter}'

You should implement this within the command for speed (and this uses command syntax in both cases). Just remember that the ending value will only be included up through the specified letters, so if you choose "Bo", you would only see values like this:

Barker
Berg
Bo

But not 'Borgan'.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top