Eileen Murphy
asked on
Microsoft Access Graph Legend Issue
Hi Experts. I have a frustrating issue. I have a graph of instances by machine. One of the Machines is named 10/17. Others are similarly named. In the graph legend for 10/17 it is displaying Oct-17. I made the data source for the graph a temporary table so I could fool around with the data to see if I could get this to display right. When I added spaces to the data making 10/17 - 10 / 17 -- it still displayed as Oct-17. When I changed it to: m10/17 it displayed as m10/17. The machines named 16/17 display correctly since it can't be converted to a month and day. Any ideas?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
As always, thank you!!!
Just to add in here an explanation in case another system name will duplicate this issue:
The reason why the graph showed Oct-27 is because the "general" data field that contained 10/27 resembled a date and was cast as a date in the graph; also, since there isn't a 16th month, 16/17 was not interpreted as a date.
Ergo, any character other than "/" and "-" like pipe "|" would keep the data as text instead of be dynamically cast as a date. This also goes for adding a letter, such as m to the data.
There probably is a way to force the graph to display 10/27 with an ' apostrophe in front of the data; or the data column should be cast as text type (as general/variant would attempt to interpret/cast data dynamically into whichever type it thinks the data is in).
Assuming it works the same as excel that is
The reason why the graph showed Oct-27 is because the "general" data field that contained 10/27 resembled a date and was cast as a date in the graph; also, since there isn't a 16th month, 16/17 was not interpreted as a date.
Ergo, any character other than "/" and "-" like pipe "|" would keep the data as text instead of be dynamically cast as a date. This also goes for adding a letter, such as m to the data.
There probably is a way to force the graph to display 10/27 with an ' apostrophe in front of the data; or the data column should be cast as text type (as general/variant would attempt to interpret/cast data dynamically into whichever type it thinks the data is in).
'10/27
Assuming it works the same as excel that is
ASKER