If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Format Date and Strconv
I have a field in a report as follows:
=Trim("ON THE" & " " & Format([DATE OF CONFIRMATION],"dd mmm yyyy")) returns "ON THE 25 May 2009. This works fine, however I would like the result to be displayed on the report as UPPER case also. That is "ON THE 25 MAY 2009" Is there a way I can add the strconv command to my existing command? Thanks for any help |
#2
|
|||
|
|||
Format Date and Strconv
On Fri, 21 Aug 2009 04:07:01 -0700, Roger Bell wrote:
I have a field in a report as follows: =Trim("ON THE" & " " & Format([DATE OF CONFIRMATION],"dd mmm yyyy")) returns "ON THE 25 May 2009. This works fine, however I would like the result to be displayed on the report as UPPER case also. That is "ON THE 25 MAY 2009" Is there a way I can add the strconv command to my existing command? Thanks for any help =Trim("ON THE" & " " & Format([DATE OF CONFIRMATION],"dd mmm yyyy")) ==^ I see no need for Trim() here. "ON THE" & " " & Format([DATE OF CONFIRMATION],"dd mmm yyyy") ============^ This space can be moved to the end of "ON THE " strConv("ON THE " & Format([DATE OF CONFIRMATION],"dd mmm yyyy"),1) -- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com |
#3
|
|||
|
|||
Format Date and Strconv
="ON THE " & UCase(Format([DATE OF CONFIRMATION],"dd mmm yyyy")))
-- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no private e-mails, please) "Roger Bell" wrote in message ... I have a field in a report as follows: =Trim("ON THE" & " " & Format([DATE OF CONFIRMATION],"dd mmm yyyy")) returns "ON THE 25 May 2009. This works fine, however I would like the result to be displayed on the report as UPPER case also. That is "ON THE 25 MAY 2009" Is there a way I can add the strconv command to my existing command? Thanks for any help |
#4
|
|||
|
|||
Format Date and Strconv
One more option, just for the heck of it.
"ON THE" & " " & Format(Format([DATE OF CONFIRMATION],"dd mmm yyyy"),"") John Spencer Access MVP 2002-2005, 2007-2009 The Hilltop Institute University of Maryland Baltimore County Roger Bell wrote: I have a field in a report as follows: =Trim("ON THE" & " " & Format([DATE OF CONFIRMATION],"dd mmm yyyy")) returns "ON THE 25 May 2009. This works fine, however I would like the result to be displayed on the report as UPPER case also. That is "ON THE 25 MAY 2009" Is there a way I can add the strconv command to my existing command? Thanks for any help |
Thread Tools | |
Display Modes | |
|
|