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

Need help for parameter field

Status
Not open for further replies.

sonadi

Programmer
Feb 5, 2010
8
US
I need help for how can I do as parameter field this scenario. if one account has two code number display one the report or if display any account that has one code. Please help.
 
This is unclear. Are you saying that you want to display only one code number if an account has two code numbers? Are there two fields, one for account ID and one for code number? What does your data look like?

-LB
 
Need display one account that has two code number there one field
Example:

Account # code id
1234 905
1234 706

1345 905
2345 706


I want display first one as parameter.
 
A parameter for what? Are you trying to create a parameter picklist that contains account #'s that have multiple code IDs?

Or do you just want to display accounts that have more than one code in the body of your report?

-LB
 
yes, I Want to display account that have more then one code.
 
Then insert a group on {table.account} and then go to report->selection formula->GROUP and enter:

distinctcount({table.codeID},{table.account}) > 1

Then if you need to do any calculations across accounts, be sure to use running totals, since non-group selected records will contribute to the more usual inserted summaries.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top