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

adding text to a formula 1

Status
Not open for further replies.

patty1

Programmer
Apr 17, 2002
105
US
Can anyone tell me what the correct syntax would be for the below formula. Am getting "string needed here" and the cursor goes to the begining of Maximum. Have tried all I know.


"Week Ending: " + Maximum ({Transaction_History.Post_Date}, {Transaction_History.Post_Date}, "weekly")

Thanks for any help
 
Try this:
"Week Ending: " + totext(Maximum ({Transaction_History.Post_Date}, {Transaction_History.Post_Date}, "weekly"))
 
Thanks, that works great. Would you know how I can incorporate the formatting I use in the below formula into the formula you just gave me? I keep getting "too many arguments".


"Week Ending: " + totext(date(Transaction_History.Post_Date}), "MM/dd/yyyy") + " " + "Sub Total"
 
Would this work:
"Week Ending: " + totext(cdate({Transaction_History.Post_Date}))+ " " + "Sub Total"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top