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!

Combine two fields into a text field

Status
Not open for further replies.

f0rg3tfu1

MIS
Aug 25, 2004
103
US
Hello all again!

Cr 10, SQL server backend.

I have two fields that I would like to combine together in a formula. One is a date field and the other is a number field.

I would like to combine them into one field so I can group by it... EX:
Jan 31, 2004 1
Jan 31, 2004 2

Do I use the totext function?

Thanks for your help!!!
 
Try this:

ToText({table.datefield},"MMM dd, yyyy") & " " & ToText({table.numberfield},"0")

~Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top