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
5 3948 Rabbit 12,516
Recognized Expert Moderator MVP
You can't have a directly editable crosstab. By design, crosstabs are meant to summarize data.
nico5038 3,080
Recognized Expert Specialist
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)
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
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.
Sign in to post your reply or Sign up for a free account.
Similar topics |
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 Create a Dynamic Crosstab Report
PRODUCT :Microsoft Access
PROD/VER:1.00 1.10
OPER/SYS:WINDOWS
|
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 22
Mary 15 17 16
Joe 28 29 31
For some other instances, the Operation column was not created because the
|
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 to build the crosstab query from. In
the select query I'm prompting for a specific quarter but when I go to run
the crosstab it doesn't seem to like the parameter that has been put on the
select query and returns a message of "The Microsoft Jet...
|
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, Sum(Sales.Amount)
FROM Invoice_Details INNER JOIN BillCode ON Sales.BillCode =
BillCode.id
GROUP BY Client, Type;
|
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 number of
records(generated from a table of predefined 'timeslots'). The number of
columns(one for each Consultant) varies depending on how many of the
Consultants have a yes/no field('Participates') set to yes. Therefore the
Crosstab query...
| |
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.
However, the expectation changes - it may be 60% for a while, then
change to
50%. Initially, I was averaging the expectation, along with the
productivity, but what I'm being asked is to look at the average
productivity/performance compared to...
|
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 launching Excel for data viewing.
I'd prefer the user stay in Access. Creating dynamic crosstab queries
is pretty simple. The problem is that the column count may shrink or
grow depending on the filter.
|
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 command line that in the querie is
G:\PRIMAVERA Software\BaseDados\MET04_LP5_OF2003.mdb ";PWD=PASSWORD"
and the password is correct.
Can someone help me.
|
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!
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |