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!

Program

Status
Not open for further replies.

korata

Technical User
Aug 24, 2004
38
US
Can someone explain this program.I am fairly new to Crystal report and i would like to use formulas in my report.I came across with this formula and i want to know what it means.



if isNull({?DistrictId}) then
true
else
if ({?DistrictId} = 'any' or {?DistrictId} = '') then
true
else
{PERMIT.DISTRICT_MA_ID} = ToNumber ({?DistrictId})

 
{?DistrictID} is a parameter field that was created in the Field Explorer and will prompt the user to enter a District ID number. If the user wants all districts, then input the value of ANY or no entry (isnull({?districtid}).

The formula is placed in the record selection formula in Select Expert.

-Larry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top