Forms :: Non Alphabetical Order Of X-Axis Label On A Chart

Jan 4, 2015

I have inserted a bar chart onto a form using a totals query. The query is grouped by days on stock, eg. '0-30', '30-60', '60-90' etc. which is therefore the labels on the x-axis.

The chart displays the correct data, however, the chart automatically displays the categories on the x-axis in alphabetical order... '0-30', '120-180', '30-60' etc.. Is there anyway to adjust this order to be eg. '0-30', '30-60', '60-90' etc?

View Replies


ADVERTISEMENT

Forms :: Access Pivot Chart - Specify Order Of Categories On X-Axis

Jun 19, 2014

I have a pivot chart based on a crosstab query. I would like the items on the category axis (x-axis) to appear left to right in the order that they appear in the query results.

Some specifics:
Tables:
tblFreq
FreqID (PK, Number, Range 1-7)
Frequency (text)

tblResp
RespID (PK,Number, Range 1-5)
Response (text)

tblResults
ResultID (PK,AN)
FreqID_FK
RespID_FK

Query:
TRANSFORM CInt(Nz(Count(tblResults.ResultID),0)) AS CountOfResultID
SELECT tblFreq.Frequency
FROM tblResp INNER JOIN (tblFreq INNER JOIN tblResults ON tblFreq.FreqID = tblResults.FreqID_FK) ON tblResp.RespID = tblResults.RespID_FK
GROUP BY tblFreq.Frequency, tblFreq.FreqID, tblFreq.FreqID
ORDER BY tblFreq.FreqID
PIVOT tblResp.Response;

[code]...

Which I suppose is alphabetically ordered.I am unable to use OrderBy in the forms property sheet because tblFreq.FreqID is not an available field, even though it's an expression in the query.

View 3 Replies View Related

Forms :: Chart With Two Y Axis In MS Access

Jan 29, 2015

i have two charts in ms access and i want to combine these two charts in one chart. do you know how i can have two y-axis in ms access charts with two fields for data area.

View 3 Replies View Related

Forms :: Bound Form - Items Not Appearing In Alphabetical Order

Aug 2, 2013

I have a report that generates 100 items in alphabetical order. All of the items are also displayed in a table. I have a bound form attached to the that table, and when the items appear they are not in alphabetical order. Therefore, it is a hassle typing in the data when the form will not appear in order, because instead of going in order I am flipping through pages. What is causing this to happen? And what can I do to fix this?

View 2 Replies View Related

Forms :: Possible To Have Combo Box On Form With Fields Joined With Alphabetical Order On Surname

Aug 1, 2015

I have a Table with 6 fields, 2 are named Initial and Surname. Is it at all possible to have a combo box on a form with these to fields "joined" with the alphabetical order on the Surname. I understand that using a query will not work as the result is based on an expression

View 11 Replies View Related

Drop Down Box In Alphabetical Order

Oct 23, 2006

I have created a form with a drop down box so that I can click on a client in the drop down box and it will pull the information from that clients record.. my question is :
Is there a way of having the clients names in the drop down box listed in alphabetical order without it changing the order in my table? My table is listed in order of project numbers not client names.

View 6 Replies View Related

Alphabetical Order Query

Jun 15, 2007

The main form of our contacts database has its source in a query which places all contacts in alphabetical order by surname. How do I get the query to sort by surname and then by first name? Also, how can I get the query to run each time a new contact is added so they are put into alphabetical order when they are saved, rather than appearing at the end of the list?

View 2 Replies View Related

List Box Alphabetical Order

Sep 26, 2005

Hi can anybody tell me how i can make a list box alphabetical and it updates as new records are added

Thanks

View 3 Replies View Related

Y Axis Scale On XY Scatter Chart

Jan 15, 2013

I've cannibalized a chart from another database, hooked it up to my new data source and solved most of my formatting problems except for one, the Y axis of the chart won't display the scale properly. The minimum is set at - 3 and maximum is set at +3, but when the report opens the scale reads from -0.003 to +0.003. I've tried all the number formats I can think of. Currently it is set to General. If I set it to a number with anything less than 3 decimal places it formats as 0 or 0.00.

View 1 Replies View Related

Drop Down Menu In Alphabetical Order?

Mar 14, 2015

Just starting off with access. Is there anyway of getting fields in a drop down menu to be displayed in alphabetical order?

View 1 Replies View Related

Chart Primary & Secondary Axis Issue

Jun 13, 2006

Hi

I have three figures to display in a chart.

The Total Ongoing Calls
The Ongoing Calls in Area 1
The Ongoing Calls in Area 2

Ideally the Total Ongoing Calls should equal the other two but this is never the case due to calls in wrongs areas etc. To display this I have the Total Ongoing Calls shown as an Area Chart on the Primary Axis with the other two figures shown as a Stacked Area Chart on the Secondary Axis.

This way if I manually fix the Primary and Secondary Axis Scale to the same then I can see at a glance the total in both areas and the discrepancy from the Total. Great.

The issue is that the Primary Axis will almost always be slightly higher than the Secondary Axis which means that whenever the Scale changes I would have to manually change the other Axis. Is there any way, programaticallly or otherwise, that I can link the two Axis together so that if one changes up or down the other changes with it.

Thanking everyone I am about to confuse in advance.

JC

View 1 Replies View Related

Updating X-axis Labels In A Chart On A Report

Jan 14, 2013

I have data in a chart over four groups that are just labeled A, B, C and D in the underlying data. The table wants to label the x-axis of the chart SumOfA, SumOfB, SumOfC, and SumOfD. Ideally I would like to drive these labels by text boxes on a form, but I can't even figure out how to change them manually. I got to the data table in the chart designer and changed them there, and they'd show as changed in design view, but then they weren't changed in report view.

View 5 Replies View Related

Modules & VBA :: Pivot Chart - Auto Axis For Y Scale

Feb 16, 2015

I have a pivot chart in ms access and i want to have auto-axis for y-scale. I want that when the data will be changed the scale would be automatically arranged.

View 14 Replies View Related

General :: Access Chart - Possible To Change Values On Axis Value

Feb 25, 2013

Access charts know if it's possible to change the value axis values.

I create a chart getting values from a query I run, it plots the values but auto selects the value range and the increment.

The values on the value axis are : 0, 0.25, 0.5, 0.75, 1

Is there anyway I can get the values to increase by 0.1 rather than 0.25?

View 1 Replies View Related

How To Display "row Source" In Combo Box In Alphabetical Order

Mar 29, 2006

Hi all,

I am using a combo box in my form and its row source is set to Table A, however, the data in the combo box arent displayed in alphabetical order even though the data from Table A is sorted in ascending order.

can pls help me by teaching me How to display "row source" in combo box in alphabetical order??

thks alot

FT:)

View 3 Replies View Related

How To Label All Bars Of Chart At A Time

Jan 26, 2012

How to label all the bars of the chart at a time?I wanted to select all the bars to label them but couldn't do it! Then how can I select and label all the bars at a time?

View 4 Replies View Related

General :: Data Label On Chart Not Showing Percentage Value

Mar 11, 2014

I created a table called weld_performance. it consist weld_id, weld_prod, total_rt, accepted, rejected, and rejection rate. from weld_prod until rejection rate, the type data is number. the rejection rate field size is Single, and Format is Percent.

Based on this table, i create a query called query1. and based on this query1, i create a chart. please see attachment pic001. as you can see the data label on the chart is showing 0.66667. but in my query1, the value is 67%. if i click the value (67%) it's change to 0.66667.

So I guess, the chart is read the 0.66667 value from the query. now what i want to ask is, how can my chart data label is shown 67% instead of 0.66667 ??

Environment: Windows 7, Ms. Access 2010

View 2 Replies View Related

Queries :: Access Chart Order By Count?

Mar 8, 2014

I have a query that Counts the number of times a model number is used. I use totals and the count function under total to get that count. I have the top 10 models used and the query returns my information correctly but. When I make a form or report and place a chart in that uses this query, the results are in alphabetical order not in the order of usage. I need my chart to either go from descending or ascending order of usage and not by alphabetical order of the model number or name. What am I doing incorrectly? It seems like the chart would display the same way my datasheet would in the query.

Here is my sql statement.

SELECT TOP 10 Count(tbl_Closed_Jobs.OEM_Model) AS CountOfOEM_Model, [OEM] & " " & [Desc] AS Expr1, tbl_Closed_Jobs.Desc
FROM tbl_Closed_Jobs
GROUP BY [OEM] & " " & [Desc], tbl_Closed_Jobs.Desc, tbl_Closed_Jobs.OEM_Model, tbl_Closed_Jobs.OEM, tbl_Closed_Jobs.Plant
ORDER BY Count(tbl_Closed_Jobs.OEM_Model) DESC;

View 1 Replies View Related

Reports :: Stacked Bar Chart - How To Customize Order Of The Columns

Mar 12, 2014

I am using Access 2007-2010 and I was able to create a report but now I want to include a stacked bar in it.

My report shows one record at a time, so the values for my chart change accordingly. The chart should have four columns: Student, Homemaker, Retired, Employed I have assigned a colour for each category in "Edit" mode (by clicking separately on each column). However, sometimes the results don't show all four values and then my stacked chart only has 3 categories, but I would like it to show the missing category and just have value as 0. But most importantly the colours get all messed up. Can I permanently assign a color for each column?

Also the order is not how I want it to show. Right now it's in alpha order..how can i customize the order of the columns?

I tried doing this in datasheet - saved; but when I switch to a report view - everything changes back...

View 1 Replies View Related

Forms :: Format Graph Axis To Percentage

Oct 15, 2014

How can I change with VBA the Y axis of a graph to percentage?

sqlstr = simple sql giving with date, value

Graph47.RowSource = sqlstr

I can give the axes min/maximumscales

.Axes(2, 1).MinimumScale = frm_MinscaleY

set the colors and weights
.seriescollection(1).Border.Color = graphcolor
.seriescollection(1).Border.Weight = Lineweight
.seriescollection(1).MarkerSize = MarkerWeight
.seriescollection(1).MarkerBackgroundColor = graphcolor

But everything I try to set the axis to percentage does not work... No failure message, but nothing happens. I have tried multiple things:

.seriescollection(1).datalabels.numberformat = "0,0%"
.seriescollection(1).datalabels.numberformat = "#,#%"
.seriescollection(1).numberformat = "percentage"
.seriescollection(1).numberformat = "0,0%"
.SeriesCollection(1).tickLabels.NumberFormat = "%"
and a lot more....

View 1 Replies View Related

Forms :: Access 2003 VBA / Unable To Tick Labels Property Of Axis Class

Dec 3, 2013

I have the following code:

Dim FrmGraphObj As Object
Set FrmGraphObj = Forms![frmE Weekly Efficiency]![gph_WeeklyEfficiency].Object.Application.Chart
FrmGraphObj.Axes(xlValue).TickLabels.NumberFormat = "0%"

I continually receive a runtime error 1004 " unable to get tick labels property of the axis class"

if I remove this code, then I error on the following code:

Dim FrmGraphObj As Object
Set FrmGraphObj = Forms![frmE Weekly Efficiency]![gph_WeeklyEfficiency].Object.Application.Chart
If FrmGraphObj.SeriesCollection(2).HasDataLabels Then

also a runtime 1004: "unable to get the seriescollection property of the chart class" on the last line above

searched this forum and found:

If your chart is in a form (or report), you have to:

1) refer to the form (or report) name (Form_Charts)

2) refer to the name of the object frame holding your chart (.Graph1)

3) refer to the object within the frame (.Object)

4) refer to the application that created the object (.Application)

5) refer to the actual chart itself (.Chart)

6) refer to the axes collection and select the axis you want to reference - in this case the category, or X-axis (.Axes(xlCategory))

I made the assumption, that I would just replace xlCategory with xlValue for the Y-axis. So I'm back to:

Set FrmGraphObj = Forms![frmE Weekly Efficiency]![gph_WeeklyEfficiency].Object.Application.Graph
With FrmGraphObj.Axes(xlValue)
.TickLabels.NumberFormat = "0%"
End With

Same error....

Looked in the Microsoft Graph Visual Basic Reference and it indicated:

"Tick-mark label text for the value axis is calculated based on the MajorUnit, MinimumScale, and MaximumScale properties of the value axis. To change the tick-mark label text for the value axis, you must change the values of these properties."

I reset my code to call these 2 functions prior to changing the number format.....

Public Sub txtMaxPercent_AfterUpdate()
Dim FrmGraphObj As Object
Set FrmGraphObj = Forms![frmE Weekly Efficiency]![gph_WeeklyEfficiency].Object.Application.Chart
FrmGraphObj.Axes(xlValue).MaximumScale = txtMaxPercent
End Sub
Public Sub txtMinPercent_AfterUpdate()
Dim FrmGraphObj As Object
Set FrmGraphObj = Forms![frmE Weekly Efficiency]![gph_WeeklyEfficiency].Object.Application.Chart
FrmGraphObj.Axes(xlValue).MinimumScale = txtMinPercent
End Sub

now I am receiving error 1004 again, this time it states "Unable to set the minimumscale property of the axis class" erroring on this line....

FrmGraphObj.Axes(xlValue).MinimumScale = txtMinPercent
debug.Print me.txtMinPercent
0.51

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

Alphabetical Sort Orders.

Sep 20, 2005

Hello.

How can I preserve the user-defined sort order in a column in a table?

Every time I exit the table, and go back, my items have been alphabetically sorted. This results in my Combo Box displaying the list in alphabetical order, rather than my custom order.

Thanks ahead.

View 2 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

How To Change The Label Caption Of A Variable Label Name?

Aug 4, 2006

I have n horizontal labels named Label_1 to Label_n. I'd like to assign values to the label captions by using a loop.
Something like:

For i = 1 To n
Set Label_i.Caption = i
End

However, this doesn't work. Message "Object required".

Any suggestions?

View 1 Replies View Related

General :: String Function To Detect First Alphabetical Character?

Jul 18, 2014

I have a string where alphabetical and numerical characters are mixed up. I need a string function where I can find the index of the first non-numerical character. I tried with the mid function but could not get it to work.

View 13 Replies View Related







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