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

On first record and Last

Status
Not open for further replies.

Khanson82

MIS
Mar 5, 2010
85
US
I have this in my suppress section:

{Command.ProviderID}<> previous({Command.ProviderID}) and {Command.ProviderID}<> next({Command.ProviderID})


And want to add except on first record and last record..
Is this possible?

Im basically wanting to hide any records where the providerid used is the only record for that providerid.

Thanks again.
 
There are the OnFirstRecord and OnLastRecord functions. I am not sure how you would include those into your formula.
 
It would be simpler if you inserted a group on {command.providerID} and then use group selection (report->selection formula->GROUP):

count({command.providerID},{command.providerID}) > 1

Then you wouldn't need to use suppression at all.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top