PC Review


Reply
Thread Tools Rate Thread

Access Graphs - It converts my string into a number!

 
 
New Member
Join Date: Jun 2010
Posts: 1
 
      14th Jun 2010
When I make a graph, and I want to group by a field that is a string type. For example: I have a table that lists a bunch of people's names, marks, and the course that they are taking. I want to make a graph that shows the average mark for each course (we don't care about their names).

So I make a query where I group by the course, and have an AVG() function in the select statement. It's all good and works out when I display it in a data-sheet format.

The only problem comes when I take this query and want to make it into a graph.

I have tried doing this using both the default chart wizard AND the insert unbound object frame method (w/ the Microsoft Graph Object). I have also tried this in Reports AND in Forms.

Problem: It groups my data alright, but it doesn't list the course name (like it did in the datasheet) on the graph. Instead it just gives me numbers (1, 2, 3) instead of (CourseName1, CourseName2, CourseName3).

Is there a way to prevent Access from converting my strings to numbers?

Thanks.

P.S.: I am using MS Access 2003, SP3

EDIT: This works fine when grouping by the date format.

Last edited by ibopm; 14th Jun 2010 at 07:34 PM..
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C# registry read converts string auldh Microsoft C# .NET 1 7th Dec 2009 06:08 PM
Excel converts string in CSV file as number DavidC Microsoft Excel Misc 5 25th Jul 2008 02:37 PM
How check to see if string converts to Guid ok? Ronald S. Cook Microsoft VB .NET 1 3rd Jul 2008 11:23 PM
Is there a function that converts string to number ? =?Utf-8?B?Sko=?= Microsoft Access VBA Modules 2 19th Sep 2007 01:16 AM
Excel converts 9-digit string to sci. not. when saved as csv =?Utf-8?B?ZXBlbg==?= Microsoft Excel Misc 1 20th Sep 2006 10:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:35 PM.