472,780 Members | 1,927 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

pivot chart

Does anyone know how to create a Pivot Chart at run-time? I have a
database of meter readings that currently requires me to have 200 forms
created so the user can enter date criteria and have a chart pop up. I
would like to remove the forms and have them created at run-time. Any
ideas?

Dec 16 '05 #1
3 3517
I may misunderstand your question, but having 200! forms in even the most
complex database is surely too much. Why can't you have just a few data
entry forms that add/edit thousands of records. What is the table structure
and purpose of this database? The only forms that could be "created at
run-time" would be some sort of auto-form or template based one. Again, you
don't need a different form for each record, but a few well designed forms
(perhaps modified by OpenArg code, etc. for various circumstances). A pivot
chart is usually based on a query recordset of many records, so that the
chart shows some kind of meaningful relationship(s). What is it that you're
wanting to do?
-Ed
"GoalieGW" <Go******@ptd.net> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Does anyone know how to create a Pivot Chart at run-time? I have a
database of meter readings that currently requires me to have 200 forms
created so the user can enter date criteria and have a chart pop up. I
would like to remove the forms and have them created at run-time. Any
ideas?

Dec 18 '05 #2
Ed,
Each form is a pivot chart. The only way to create them is as a
form. The database keeps track of meter readings. The pivot charts
get their information from queries that show daily usage. What I would
like to do is not have so many charts pre-created. It is taking up way
too much space. I would like to be able to enter date criteria and
have a code to create the pivot charts based on the entered criteria.
As it stands now, the user enters the date range and clicks a button
that runs a code to open the corresponding pivot chart with the filter
set for the entered date range. I would like to automate this.

Dec 21 '05 #3
Consider using your query recordsource for most/all of the filtering and
sorting of your records. One common approach is to have a "filter by form"
setup, let the user enter the desired criteria, pass those unbound control
values to the criteria(s) of your query, then use the query results as the
recordsource for your pivot chart. What you'd have then would be just one
pivot chart, but an infinite number of record sources for it.
-Ed
"GoalieGW" <Go******@ptd.net> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Ed,
Each form is a pivot chart. The only way to create them is as a
form. The database keeps track of meter readings. The pivot charts
get their information from queries that show daily usage. What I would
like to do is not have so many charts pre-created. It is taking up way
too much space. I would like to be able to enter date criteria and
have a code to create the pivot charts based on the entered criteria.
As it stands now, the user enters the date range and clicks a button
that runs a code to open the corresponding pivot chart with the filter
set for the entered date range. I would like to automate this.

Dec 22 '05 #4

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

Similar topics

2
by: Saintor | last post by:
Anybody is using them? I have not found much infos so far... Do I have to pass through a form? Any clue will help. TIA.
2
by: PC Datasheet | last post by:
From: "Martin" <Martin@discussions.microsoft.com> Subject: Pivot Chart Date: Monday, February 13, 2006 3:59 PM I am trying to learn how to use pivot charts. In 1995, if John took vacation 10/15...
1
by: keliie | last post by:
Hello, I've created a form that contains a single unbound combo box and two subforms. The two subforms display the results of a query (driven by the combo box selection) in both tabular and...
1
by: mike11d11 | last post by:
I was wondering if it was possible to export information from a pivot chart when double clicking on the item I want. For example I have a pivot chart with Four items in the legend and they are...
1
by: devagupt | last post by:
i have a form called get downtime data. WHen information is entered into it and the button "get downtime data" pressed , it displays the results of a query. WHen i view the query in pivot chart view...
1
by: thomas.wordsworth | last post by:
This is a bit of a two-part question. 1. Is there a way to control what filters are placed on a pivot chart via vba. I can easily change the underlying query and refresh pivot chart but it's...
5
by: fd1 | last post by:
Hi All, I created a pivot chart using Auto Form Pivot Chart. I'm trying to get to the RowSource query behind my chart but can't seem to locate it. I need to change the legend text. Any ideas? ...
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...
1
by: CoreyReynolds | last post by:
I can't find any information on this. If I have an existing query and I want to dump it into a page on a spread sheet and modify it as a pivot table all in VBA, can I do that? I only have the...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.