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

Creating parameter fields

Status
Not open for further replies.

mildoo

MIS
Joined
Oct 8, 2004
Messages
7
Location
GB
Crystal reports 10
Oracle9i database

I have created a parameter for a number field but the drop down displays eg. 17.00 I want to remove the .00 and display just the 17 any ideas,
 
I only use v8.5, but I've always got round this in the past by making the Parameter Field a String and then using ToNumber({?paramaterfield}) to convert it into a value when I need to.
Probably not the best way to do this - but a quick fix that works.
 
Did you specify several default values? You can provide Display values without decimals and select the option to show only display values.

MrTBC provided another good option.

Cheers,
- Ido

CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top