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!

CR 8.5 Parameter field to formula 1

Status
Not open for further replies.

3dthies

Programmer
Mar 12, 2003
77
DE
I have a multiple value date parameter field (for example: 01/01/2002 to 12/31/2002). i want to display that value in the report. how can i do this?

Thanks for help!
 
Creat this formula:
totext(minimum((?paramater}))+" to "+totext(maximum({?parameter})) Mike
 
Thank you Mike this was very helpfull but i get dd/mm/yy and it should look like dd/mm/yyyy ?
 
Use this one then:
totext(minimum((?paramater})},"dd/MM/yyyy")+" to "+totext(maximum({?parameter})},"dd/MM/yyyy")

The reasoning:
When using totext, it "checks" and uses the default format for the field type you are changing to a string. The defaults can be found by going to File/Options/Fields tab. You date field is probably set to dd/mm/yy
Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top