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

How do I remove the comma and period in my formula? 1

Status
Not open for further replies.

mn20

Programmer
Feb 16, 2001
10
SG
i have a formula where i display the month(in words e.g. October) and the year (in number e.g. 2001) so i concat them both like this..
"OCTOBER " + ToText(Year{MyTable.Date}). the result of this formula is "OCTOBER 2,001.00", which is irritating!! i want it to come out like "OCTOBER 2001". pls reply if you have an idea how to do it.

thanks a lot!
 
the following syntax may not be absolutely correct but you
need to had a ,0 after the date field to stop the decimal point and a ,"" to stop the comma. play with the following
and see what you get.

OCTOBER " + ToText((Year{MyTable.Date},0,"").


Ken

 
I think the exact syntax is:

"OCTOBER, " + ToText((Year{MyTable.Date}),0,"").


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top