473,387 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Chart based on values from a function

I have two functions that calculate two numbers based on based in
parameters. So, the functions return a value.

Is there a way to create a chart based on values from a function?

The only other thing I can think of is have a make table query call the
fuctions and then base the chart from that?

Thanks
Brian

Dec 20 '06 #1
5 2065
Also, what would be the best way to display these values in charts?

Looking to show the difference between active and participating
agencies. The number is really close, so pie chart doesnt look right.
82 out of 88
BerkshireGuy wrote:
I have two functions that calculate two numbers based on based in
parameters. So, the functions return a value.

Is there a way to create a chart based on values from a function?

The only other thing I can think of is have a make table query call the
fuctions and then base the chart from that?

Thanks
Brian
Dec 20 '06 #2
Also, what would be the best way to display these values in charts?

Looking to show the difference between active and participating
agencies. The number is really close, so pie chart doesnt look right.
82 out of 88
BerkshireGuy wrote:
I have two functions that calculate two numbers based on based in
parameters. So, the functions return a value.

Is there a way to create a chart based on values from a function?

The only other thing I can think of is have a make table query call the
fuctions and then base the chart from that?

Thanks
Brian
Dec 20 '06 #3
BerkshireGuy wrote:
I have two functions that calculate two numbers based on based in
parameters. So, the functions return a value.

Is there a way to create a chart based on values from a function?
Just make a query using the function(s) and set the query as the chart's
row source.

If you don't think a pie portrays what you want (it's ideal, IMO, for
the two values you describe) then I'd recommend using a column chart.

--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Dec 21 '06 #4
Hey Tim:

I tried that and it wouldn't let me. My guess is because I hadnt
specified a table, which I dont need in this instance. That is why I
thought Maketable query - which can be launch when opening the chart?

Thanks,
Brian

Tim Marshall wrote:
BerkshireGuy wrote:
I have two functions that calculate two numbers based on based in
parameters. So, the functions return a value.

Is there a way to create a chart based on values from a function?

Just make a query using the function(s) and set the query as the chart's
row source.

If you don't think a pie portrays what you want (it's ideal, IMO, for
the two values you describe) then I'd recommend using a column chart.

--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Dec 21 '06 #5
BerkshireGuy wrote:
Hey Tim:

I tried that and it wouldn't let me. My guess is because I hadnt
specified a table, which I dont need in this instance. That is why I
thought Maketable query - which can be launch when opening the chart?
A pointless waste of resources. There's no reason why a query won't
work. I have several apps which construct a background query based on
criteria choices made by the user and turn this into a chart.

Check to make sure your query runs properly on its own. Then run the
chart wizard against the query in question.
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Dec 22 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Brian Shade | last post by:
Hi all. I am having a bit of a problem with my Perl script and the creation of a chart. I can create the chart and create a new SeriesCollection. I then specify the XValues and the Values parameter...
4
by: Andy Davis | last post by:
I have developed a number of reports that are based on parameter queries where the user enters criteria such as a date range and a sales rep say. I want to be able to show a graphical picture in...
3
by: StBond | last post by:
Hi everyone, I am new to Access and Visual Basic so things my be getting across a bit cloudy. I only started using VB for one week. I am having a little problem with the database that I am...
9
by: Patrick.O.Ige | last post by:
I have a code below and its a PIE & BAR CHART. The values now are all static but I want to be able to pull the values from a database. Can you guys give me some ideas to do this? Thanks ...
1
by: Saintor | last post by:
This is for A97 in runtime or MDE mode. My intent was to define a temporary query using the recordsetclone property / filter / orderby. The controlsource of my chart would be based on a grouped...
0
by: farid25 | last post by:
i want to use data set instead of arrays can any one help thanks --------------------------------- <%@ Import Namespace="System.Drawing" %> <%@ Import Namespace="System.Drawing.Imaging" %>
0
by: AccessAcct | last post by:
I want to chart the values from a list box on my form without having to go back to the table holding the data, is this possible? I have a list box that has a user defined criteria, when it is set...
14
by: Wayne | last post by:
I posted about this problem over 12 months ago and even after Vista SP1 the problem still exists when running an Access database (A2003 and A2007 tested) under Vista. A workaround was suggested by...
0
by: inepu | last post by:
Is there any way to show a field in a pivot table/chart that is calculated based on other fields of the pivot? I have the following table: Date; DescriptionField_1; Slots; EmptySlots I want...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.