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!

Include "/" in number field ?

Status
Not open for further replies.

jleboeuf

Programmer
May 2, 2001
50
CA
I use a formula to include range value in my report header
to start i use the first formula and the result is
From:20010226 To:20010303

FIRST FORMULA
//"From:"+ totext(Minimum({?date de l'information}),0,"")+ " " +
//"To:"+ totext(Maximum({?date de l'information}),0,"");

I WANT TO INCLUDE / BETWEEN year, month and day i try the second formula but i receive an error.

SECOND FORMULA
"From:"+ totext(Minimum({?date de l'information}[1-4]+"/"+{?date de l'information}[5-6]+"/"+{?date de l'information}[7-8]),0,"")+
"To:"+ totext(Maximum({?date de l'information}[1-4]+"/"+{?date de l'information}[5-6]+"/"+{?date de l'information}[7-8]),0,"");
 
jleboeuf: I suggest the following:

"From:"+ totext(Minimum(Date({?date de l'information}[1-4],{?date de l'information}[5-6],{?date de l'information}[7-8]))),0,"")+
"To:"+ totext(Maximum(Date({?date de l'information}[1-4],{?date de l'information}[5-6],{?date de l'information}[7-8]))),0,""); David C. Monks
david.monks@chase-international.com
Accredited Seagate Enterprise Partner
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top