473,418 Members | 2,344 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,418 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 3568
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.