473,395 Members | 1,956 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,395 software developers and data experts.

Editable crosstab querie

Is it possible to create form containing an editable crosstab querie?

The only way I can think of is to create a temporary table where the results of the crosstab querie are stored, then presented in a form for edit purposes and when closing the form 'translating' the temporary table back into the original one.

(simplified) Example:

Table:
- id, week, number
1 1 a
1 2 b
1 3 c
2 1 d
2 3 e

Crosstab:
- id, week1, week2, week3
1 a b c
2 d _ e

In this crosstab the a,b,c,d,e and _ should be editable.

In the current solution you can select a row in the crosstab form in order to open a form presenting the original table (filtered on id), but direct editing is highly appreciated.


Albert
Oct 31 '07 #1
5 3928
Rabbit
12,516 Expert Mod 8TB
You can't have a directly editable crosstab. By design, crosstabs are meant to summarize data.
Oct 31 '07 #2
nico5038
3,080 Expert 2GB
Hmm, in a case like this I sometimes "drop" the normalization rules and use for every week a fixed field in my table. (So Week1 to Week53)
This will allow easy updates, but will require additional tricks to use the data in other ways...

Nic;o)
Oct 31 '07 #3
This solution came to mind, but this will involve a lot of calculations.

For your information, it involves an activity week planning where each activity can take place in different weeks and can last for over a year. To denormalize the weeknumbers I probably will have to use a relative week number to keep the table correct over the years (another solution is to define the week from today up to the next 5 years or so - implying over 250 colums, but this is not very flexible).
Other functionalities in my program imply adding up the activities hours for a given week. This will then imply a difficult algorithm because you have to use different weeknumbers indicating the same week.

Perhaps using a crosstab query to fill a temporary table, having the format of the results of the query and edit in this table is to only feasible solution. Of course then I will need an algorithm to update the original activity table with the results from the temporary one. But this is a less complicated algorithm and futhermore this is to be programmed in one place.

I will keep this question open for the next few days, to give people the chance to come up with other ideas ;-) If nothing is coming up, I will try the temporary variant.

Albert
Nov 1 '07 #4
FishVal
2,653 Expert 2GB
Hi, Albert.

You may take look at this thread - Crosstab Behaviour required for Data Input

If you want to get samples mentioned in the thread, then send me PM with your e-mail.
Nov 1 '07 #5
FishVal,

indeed this thread reflects my problem.

I''ve send you a PM for the examples.

Albert

With FishVal's answer this question is resolved satisfactory.
Looking forward to the examples.
Nov 1 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Nathan Bloomfield | last post by:
Does anyone know if there is any documentation which relates to Access2k + ? or can anyone help adjust the code? I am having trouble converting the DAO references. TITLE :INF: How to...
2
by: Sherman H. | last post by:
I have a few questions for crosstab and popup form questions: 1. I created a crosstab as follows: IT Financial Operation John 21 22 ...
4
by: Judy | last post by:
I'm using Access 2003 and was wondering if it is possible to have a paramater selection within a crosstab query so that I wouldn't need to build a new table. I have a select query that I'm using...
7
by: newguy | last post by:
I am trying to get the totals of a table by client by type of income. This query will get what I am looking for with each unique combination as a row: SELECT Sales.Client, BillCode.Type,...
8
by: Penny | last post by:
(Access 2003 Multiuser Split DB, Windows XP Pro) Hi All, I would really appreciate just some basic tips on how to make a Crosstab Form based on a Crosstab Query. The query always has the same...
14
by: Tina | last post by:
My employer tracks productivity/performance of clinicians (how much they bill) each week, its averages for the month, and the 6 months. These averages are compared to their expected productivity....
13
by: salad | last post by:
Operating in A97. I didn't receive much of a response conserning Pivot tables in Access. Pivot tables are nice, but a CrossTab will work for me too. Using a Pivot table, one is actually...
0
by: Paulo Ferreira | last post by:
Hello, I'm trying to run a "make-table" querie that will create a table on protected database but, every time I try to run the querie, I get a message saying that the password is wrong. The...
2
by: vectorBS | last post by:
Hi i know its not possible in theory but has anyone managed to find a way around building editable forms based on crosstab query!
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...

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.