Topic Options
#70946 - 08/24/24 08:45 AM Gridview _ Help to Concatenate {DATE} Field
chinmook Offline
Edward Chris Chin-Mook

Registered: 09/29/09
Posts: 387
Loc: Jamaica
Dear Forum,

In Gridview, I am concatenating 3 Fields types (Text / Number / Date), however my date field {Date} is appearing as a number. = 45376

Function used = CONCATENATE()

Question : How to show {Date} = 45376 = 3/25/2024 nested inside the concatenated formula or even to make another calculated field that converts the Formatted Date to TEXT, then I concatenate that field instead.

'H00006 - Tracy Ann Wright - 8764339605- 45376 - $1500

Desired Result
'H00006 - Tracy Ann Wright - 8764339605- 3/25/2024 - $1500

Thanks in advance for any suggestion. (My Brain hitting a Wall)
_________________________
Edward C Chin-Mook
10 Waterloo Ave, Kingston 10, Jamaica
876-754-7444
876-754-5513

Top
#70947 - 08/24/24 06:42 PM Re: Gridview _ Help to Concatenate {DATE} Field [Re: chinmook]
Steve Schwartz Offline
Adagio God

Registered: 03/10/02
Posts: 4467
Loc: Wynnewood, PA
Hi Edward

Don’t use the DATE function. Instead use the YEARL, the MONTH and the DAY functions.

I could go into more details, but I think you can take it from here.

Steve

Top
#70948 - 08/24/24 10:06 PM Re: Gridview _ Help to Concatenate {DATE} Field [Re: Steve Schwartz]
chinmook Offline
Edward Chris Chin-Mook

Registered: 09/29/09
Posts: 387
Loc: Jamaica
Thank you Steve,

Three separate Calculated Columns did the trick.

DAY({Last Inv Date} )

MONTH({Last Inv Date} )

YEAR({Last Inv Date} )-100+2000


** For the YEAR, I had to do some additional math to get the 2024 **

Then I included all 3 Fields separated by "/" in the concatenation.

Working as it should now see fruits below..

A00006 - Ms Elleston - 8767588-24/6/2024 - $25868.5
A00007 - Mrs. Bernal - 8765492-20/2/2024 - $10866.66
A00008 - Mr Ervin - 876545-8/2/2024 - $9870
A00011 - Mrs. Archer - 8763704-18/3/2024 - $222900
A00012 - Mr. McFarlane, Ms Green - 8768031-27/6/2024 - $10048.89


One Love

Edward
_________________________
Edward C Chin-Mook
10 Waterloo Ave, Kingston 10, Jamaica
876-754-7444
876-754-5513

Top
#70950 - 08/25/24 02:19 AM Re: Gridview _ Help to Concatenate {DATE} Field [Re: chinmook]
Steve Schwartz Offline
Adagio God

Registered: 03/10/02
Posts: 4467
Loc: Wynnewood, PA
I specifically wrote to use YEARL not YEAR. Then you wouldn’t have needed to do the extra work.

Steve

Top


Moderator:  Christa_Meissner 
Who's Online
0 registered (), 72 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1850 Members
5 Forums
14296 Topics
69957 Posts

Max Online: 359 @ 11/18/19 09:08 PM
August
Su M Tu W Th F Sa
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31