Previous Thread
Next Thread
Print Thread
Joined: Jul 2001
Posts: 912
Paradise is perspective
Paradise is perspective
Joined: Jul 2001
Posts: 912
Hi Guys,

I have one of those cases where the Fiscal Year End changed and creates the situation where the year is suffixed with an "A" and I'm trying to get the FR to show me which year has been selected on the toolbar.

I'm using the function =VALUE(FYEAR()) but it doesn't differentiate between FYs 2013 and 2013A, returning 2013 for both.

Should I be using something else ?

Pete

Last edited by BAMPH; 02/06/13 05:33 PM. Reason: completed subject

Peter Banfield
BAMPH Consulting Services
Barbados
Joined: Mar 1999
Posts: 10,504
Adagio Master
Adagio Master
Joined: Mar 1999
Posts: 10,504
Hi Pete,

The VALUE() function converts a string to a number. Hence "2013-" and "2013A" both convert to the number 2013. If you want them to be different, then get rid of the VALUE() around FYEAR() and deal with the text string.


Andrew Bates
Joined: Jul 2001
Posts: 912
Paradise is perspective
Paradise is perspective
Joined: Jul 2001
Posts: 912
Thanks Andrew,

In a previous instance I was using it in a calculation and put the VALUE() around it but in this instance I actually need it to be text and even though I looked at it a million times, never saw the VALUE() part, just looked right past it <geez>.

Thanks for the rescue again, Pete


Peter Banfield
BAMPH Consulting Services
Barbados

Moderated by  Softrak Support 

Link Copied to Clipboard
Who's Online Now
0 members (), 77 guests, and 3 robots.
Key: Admin, Global Mod, Mod
Forum Statistics
Forums5
Topics14,679
Posts71,625
Members1,874
Most Online1,408
Dec 9th, 2025
November
S M T W T F S
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
Powered by UBB.threads™ PHP Forum Software 8.0.0