Error While Creating Chart From Query

Oct 19, 2007

Wasen't sure whether this is a Reporting thing or a Querie thing as it resides inbetween the two.

Basically (and believe me I thought this would be pretty straight forward!!!!), I am trying to create a chart from a query that returns the occurences of concerns raised each month for a year. The query returns the following:

MthTextExpr1
Jan0
Feb0
Mar0
Apr1
May0
Jun0
Jul1
Aug1
Sep2
Oct1
Nov0
Dec0

In order that the user can specify a year that the chart will be applicable to, there is a field within the query that relies on the input of a year on an unbound text box on a form: [Forms]![frm_concern_frtpage]![Enter Year] is inputted into the critera box of this field.

However, if you try to create the chart it does not like this and just gives the following two error messages. If you enter a value into this text box and run the report containing the chart, it just gives a blank chart!!!!

Why is this error occuring?

I just want months along the X axis and the values from the Expr 1 column to be displayed on the Y axis!

View Replies


ADVERTISEMENT

Creating A Chart

Apr 17, 2006

I have this database where I track how long an employee has been with the company. I need to make a chart to show this data. I've got a field that calculates how many days the employee is/was with the company. I now need to group them into categories:

Less than 7 days
Less than 1 month
Less than 3 months
Less than 6 months
Less than 1 year
1 - 2 years
2 - 5 years
5 - 10 years
10+ years

Question is...since charts seem to need to pull from only one source how the heck can I the counts for each of those criteria above into one query or table. I've got them all in separate queries right now because I can't figure out if there's any other way.

View 1 Replies View Related

Looking For A Chart Creating Tutorial...

Apr 17, 2007

Anyone know a good site w/ help creating charts in Access 2k? I have a few queries id like to display as charts but just playing w/ the chart feature is getting more confusing by the minute. Any tutorial would be great. TIA!

View 1 Replies View Related

Reports :: Creating A Pie Chart Format?

Apr 20, 2013

I have browsed a few forums and am still having trouble creating a pie chart that has the proper layout that I would prefer.

I have created a query that will list the data I would like to organize into a pie chart. The query, when run, will prompt the user for a start date and an end date and then display the data in this form:

EmployeeX | SumofProject hours | SumofDemo Hours | SumofAdministration hours | SumofEtc hours (5 other categories of hours)
EmployeeY | SumofProject hours | SumofDemo Hours | SumofAdministration hours | SumofEtc hours (5 other categories of hours)

OK, now that I have the data in this format I would like to create a report that includes tabs for each employee, each tab will have a pie chart that has one employee and a pie chart showing how their hours are allocated to each task. e.g. tab 1 would have Employee X and the pie chart would show what percentage of this employee's hours was dedicated to project/demo/admin/etc...

View 1 Replies View Related

Creating Chart Using Field Values From The Report

Apr 18, 2007

I have created a report using a query. Further to this, I have added some fields from the query into the report which calculates the sum of records and the count of records.

My problem here is, using the chart wizard, I am only able to select the fields existing in a 'Table' or a 'Query'.

Can anywone help me to create a Bar chart / Pie chart using the fields in the report? :confused:

View 2 Replies View Related

Creating Report With Pie Chart In Access 2010

Nov 25, 2014

I am working in Access 2010, trying to create a report with a pie chart. The pie chart is based on a query (called Count Pie) that calculates three values:

% IS
% NetInf
% IS + NetInf

I go into Create, Report Design and get a blank report in Design View. I select Chart from the Controls tab and follow the Wizard to specify the data source.

I get a pie chart with the right title (Count Pie). I double-click on the chart to open the report Datasheet and insert the correct value names. My pie chart in Design View looks correct. It has the right title and legend, and shows three slices of the pie corresponding to the three values.

I save the report, and go to Print Preview, where I get a pie chart that looks like a single circle; it has no legend, and doesn't show the three values.

Do I need to have the Access 2010 application re-installed?

View 1 Replies View Related

Modules & VBA :: Creating Excel Pivot Chart In Access

Jan 21, 2014

I've written this code in Access to create a pivot chart in Excel. All the code listed is good except for the last line. The last line creates another instance of Excel. I can't figure out what the correct syntax is.

Set xlApp = New Excel.Application
xlApp.Visible = True
Set wb1 = xlApp.Workbooks.Open("c:chi estpivot.xlsx"
wb1.Sheets.Add
wb1.PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _

[code]....

View 14 Replies View Related

Error Creating A Report From Query

Jul 18, 2005

Hello,

I can run a query but when I try to display this information on a report I get the following message:

The specified field “tblMachineData.TagName’ could refer to more than one table listed in the FROM clause of your SQL Statement.

Here is my SQL code from the quey.

SELECT tblMachineData.TagName, [tblMachineFloat Query].DateAndTime, tblMachineRunTag.TagName, tblMachineFloat.Val
FROM tblMachineRunTag INNER JOIN (tblMachineData INNER JOIN ([tblMachineFloat Query] INNER JOIN tblMachineFloat ON [tblMachineFloat Query].DateAndTime = tblMachineFloat.DateAndTime) ON tblMachineData.TagIndex = [tblMachineFloat Query].TagIndex) ON tblMachineRunTag.TagIndex = tblMachineFloat.TagIndex
WHERE (((tblMachineFloat.TagIndex)=0 Or (tblMachineFloat.TagIndex)=1 Or (tblMachineFloat.TagIndex)=3 Or (tblMachineFloat.TagIndex)=4))
ORDER BY [tblMachineFloat Query].DateAndTime DESC;

Any help is appreciated,
Bob

View 2 Replies View Related

Reports :: Creating Chart In Report Using Unbound Text Boxes?

Jul 25, 2013

I am having trouble creating a chart within a report. Let me start off by explaing my report.

I have many unbound textboxes on my report that all have the code very similar to this:

" =Count(IIf([Complaints Table]![Month]=1,IIf([Complaints Table]![Decision - Our Favour? (Y/N)]="Y",0))) "

This basically gives a count of for a specific month. There are twelve rows of text boxes and two columns. There is a query applied to the report to input the year, as this is a yearly report.

What I want to do is link a chart to each and every text box to show the data in an easy to view format. But I can't seem to figure it out, and I've had no luck on the web .

View 1 Replies View Related

Forms :: Form Produces Error After Creating Query From 3 Tables

Feb 11, 2015

I have 3 tables:

tblMain
BalanceID PK
GasID FK
ElecID FK

tblGas
GasID FK? not sure
BalanceID

tblElectric
ElecID FK? not sure
BalanceID

I created 1 query from all 3 tables, then created the form from that 1 query.Now when I enter data into the form and click to save it , it produces this error message:The Microsoft Database Engine cannot find a record in the tblGas with key matching fields 'tblMain_GasID.The tblGas does contain a field GasID, but does it mean that the field should be tblMain_GasID

View 12 Replies View Related

General :: Pivot Chart 2 Value Groups Overlaying Error

Oct 24, 2013

after building a database in Access 2010, I am having a hard time with something that seems relatively simple.

I am trying to create a bar graph PivotChart with 2 different values associated an individual axis. While I can get the data into the PivotChart, I can't seem to make it stop overlaying the data. This is problematic because it causes one of the bars to be behind another.

Is there a way to make this data stack up side by side rather than on top of each other?

I've already tried changing the chart type, made the data separate groups, overlap is set to 0.

View 1 Replies View Related

General :: Cannot Publish Excel Pivot Chart - Run Time Error

Oct 11, 2013

I am trying to publish an Excel Pivot Chart, but keep getting Run Time Error 1004 - Application-defined or object-defined error...

I have tried the code 2 ways:

Code:
Sub PublishChart() Worksheets("Historical_Pivot").Activate
With ActiveWorkbook.PublishObjects.Add(xlSourceChart, _
Path & "" & "AWA" & "_" & "JAMALCO" & "_" & "Chart" & ".htm", _
"Historical_Pivot", "JAMALCO", xlHtmlStatic, "ABC REQ BACKLOG_2013", "")
.Publish (True)
.AutoRepublish = False
End With
End Sub

Code:
Sub PublishChart()
Dim wb As Workbook
Dim ws As Worksheet
Set wb = ThisWorkbookSet ws = wb.Sheets("Historical_Pivot")
ws.ChartObjects("JAMALCO").Activate
With wb.PublishObjects.Add(xlSourceChart, Path & "" & "AWA" & "_" & "JAMALCO" & "_" & "Chart" & ".htm", ws _
, "", xlHtmlStatic, "", "")
.Publish (True)
End With
End Sub

View 1 Replies View Related

Forms :: Error 1907 When Placing Chart Control Within A Form

Nov 3, 2014

I have just tried experimenting with placing a Chart control within a form (Access 2010). Although the chart ultimately seems to work (based on my one simple example), I'm getting an Error 1907 (Could not register font.......) each time I launch the database or reload or edit the form.

This error message is itself contained within a "Configuration Progress" screen for MS Office Prof + 2010 which seems to complete if I select Ignore the error message but runs again each time the database is launched (with the same error message showing up part way through). I am logged on as Administrator.

View 2 Replies View Related

Reports :: Custom Reports Creating Chart Based On Month Not Calendar Year

Jun 15, 2015

I am editing a database that provides the option of creating custom reports, where the user can input a date range of their choice and receive aggregate data for that time frame. Although all of the numbers in the report are correct, I am having trouble with a chart that I inserted into the report.

Specifically, if the date range requested spans 2 calendar years (i.e. April 2014 through January 2015), the data for January 2015 appears at the beginning of the year (so the chart x-axis is for Jan through Dec, and the Jan 2015 data is showing up in Jan (as if it was 2014, not the end of the given range in 2015). When I try with smaller time frames within a calendar year, it adjusts just fine (i.e. shrinking the window so just March-May is displayed on the graph).

How to adjust the axis so that it properly records the data range- so that it would start the axis with April and end in January, for example?

View 2 Replies View Related

Can Form UseMicrosoft Excel Chart Instead Of Microsoft Chart Wizard

Mar 22, 2006

Hi all,

I'm trying to create a chart in a form, this is not a problem, however, the chart types available are a bit limited compared to if i inserted a Microsoft Excel Chart object.

I'd do that except I'm trying to create a chart based on a query.

Is there a way to make the chart wizard use the Microsoft Excel Chart object as its chart creator so I have access to the chart types available in that object?

any assistance much appreciated.

thanks all.

regards

keji

View 1 Replies View Related

Limit Chart To Date Range / Chart Isn't Updating

Jun 28, 2015

I have a form with a chart , 2 textboxes for start date and end date and a button to filter the data( filter the data by date range) How do i continue from that? The chart isnt updating.

View 5 Replies View Related

Creating Duplicate Values Error

Mar 29, 2006

I have a table with one primary key (ClientID) which is an autonumber (cannot be duplicated), and another field which is a number field which is set to a random 6 digits (also cannot be duplicated) whenever a new client record is created.

Now, the main database is on a desktop, and my partner and i are connected to this main database through our laptops whenever we're in the office. For the last 6 months, I had only the ClientID in the form (from the Client Table), and everything would work fine whenever we created a new record in the Form, even if we created a new record at the same time on our personal laptops, the numbers would automatically be increased by one w/ no error.

I just added the other field now, the regular 6 digit random number field, and sometimes (only sometimes) when we both have a different client and start a new record, we get error messages that says we're creating duplicates. When that error message comes up, one of us has to close down the form completely, and reopen and start a new record again. Not sure why this is happening. Here is the error message.

http://members.shaw.ca/hgkma/errormessage.jpg

Any help appreciated.!!

View 14 Replies View Related

Chart Query

Aug 19, 2006

I'm currently using MS Access 2000 - When using the chart wizard is there any way of sorting the data by month ? At present I'm getting all my data on one chart but I want to spilt this into seperate months. (ie; 1 chart for July, 1 chart for Aug etc) I know there is the option for choosing 'between dates' but I don't want to have to do a fresh chart every time

Regards

Richard

View 1 Replies View Related

Help With Query For A Chart

Apr 4, 2006

Hey,I have a table with a date of birth field and I need to produce a pie chart showing age groups from this.The groups should be:< 16> 15 < 18> 17Help me!

View 1 Replies View Related

Query For Chart

Nov 20, 2007

I want to make a chart that shows the number of PLANNED CLOSE DATES and the number of ACTUAL CLOSE DATES for each month of the current financial year.
How do I make the Query to base this chart on?

Its been driving me crazy! :confused:

View 2 Replies View Related

Query For A Chart?

Dec 6, 2007

I have a table called Projects
Each project has a Target Close Date
And some have an Actual Close Date

I want to create a chart that has months on the vertical axis (July to June)
and number of projects on the Horizontal axis

Then I want 2 lines on the chart showing how many projects were supposed to be completed and how many actually completed by each month. ie a running total

I think I need to make a query to get the data for this chart, but i dont know how...

View 1 Replies View Related

Creating A Database For Common Error Messages

Aug 23, 2006

Hello to all. This is my first post on this forum. I'm currently working on a database for my company and would like to get some more guidance from you all. I work at a helpdesk. I'm trying to create a database that allows me to search for common error messages. My co-workers and I would be inputting the messages. I would like to be able to set up a query to search for these messages for future troubleshooting. I’m just looking for a start on what the tables and fields should be and how we can input the messages. All help is greatly appreciated.

View 3 Replies View Related

Receiving Error When Creating Calculated Field

Feb 4, 2013

I'm attempting to create a calculated field in a query called 'Test'. It's purpose is to determine if a certain field has a 'c' for closed and then returns the appropriate 3 months in a concatenated string. This previously worked when it was shorter. Now that I extended it for 2011 fields i'm getting an error that it is too long. I'm pasting the below code into the 'field' line of my query.

Code:
Test: IIf([DEC12_Status]="c",[OCT12_A] & " " & [NOV12_A] & " " & [DEC12_A]
,IIf([NOV12_Status]="c",[SEP12_A] & " " & [OCT12_A] & " " & [NOV12_A],
IIf([OCT12_Status]="c",[AUG12_A] & " " & [SEP12_A] & " " & [OCT12_A],
IIf([SEP12_Status]="c",[JUL12_A] & " " & [AUG12_A] & " " & [SEP12_A],
IIf([AUG12_Status]="c",[JUN12_A] & " " & [JUL12_A] & " " & [AUG12_A],

[Code] .....

View 4 Replies View Related

How To Create A Chart From A Query?

Jul 25, 2007

:) Hello,
Can anyone please tell me how to create a graphic (a chart like in excel) based on the result of a query? It's just names and values (2 fileds only)
Thankyou.

View 3 Replies View Related

Making Chart From A Query

Jul 22, 2005

One of the requirements of my project is that a report should print a Bar Chart, based on a query.
The related query has the following fields:

ItemCode, Quantity_received, Quantity_delivered, and the Date.

The report should depict the number of transactions over a period of time, chosen by the user.

I have programming knowledge in Visual Basic, but quite beginner in MS Access VBA.

Any help please!

View 1 Replies View Related

Using Chart In Report From Query?

Jul 2, 2013

I don't seem to get it right to use a chart in my reports from a query.

See attached database. I want to create a chart in the report to give visual feedback to the user.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved