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

Format field 1

Status
Not open for further replies.

durug

Technical User
Mar 22, 2002
335
CA
Hi list!

I have a formula field something like this:
IF {sp_Report.Required_Ship_Date} = Date (1940,01,01) THEN
"Past Due"
ELSE
ToText({sp_Report.Required_Ship_Date})

The problem that I have is that I would like to display the
sp_Report.Required_Ship_Date in this format:
March 1, 2002 in else case. Riht now is like this 3/1/2002 12:00:00. And I don't wan't to change the computer settings.

How can I do this?

thanks,
Durug
 
try this:

IF {sp_Report.Required_Ship_Date} = Date (1940,01,01) THEN
"Past Due"
ELSE
ToText({sp_Report.Required_Ship_Date}, "MMMM, d, yyyy")

The "M's" must be capitalized, as a lowercase m is for minutes.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top