473,811 Members | 4,216 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to Point to Dynamic Column Headers in Crosstab Query

2 New Member
Hello all. Long time reader, first time poster :)

I'm creating a repot that shows "the last two weeks of data the next 6 weeks of data, week over week".

So, I have a calculated field called "Week number" as the column header in a crosstab and then in the criteria for that field I put:

DateDiff("ww",# 12/22/2007#,Now(),0,# 12/22/2007#)-2
DateDiff("ww",# 12/22/2007#,Now(),0,# 12/22/2007#)-1
DateDiff("ww",# 12/22/2007#,Now(),0,# 12/22/2007#)
DateDiff("ww",# 12/22/2007#,Now(),0,# 12/22/2007#)+1
DateDiff("ww",# 12/22/2007#,Now(),0,# 12/22/2007#)+2
DateDiff("ww",# 12/22/2007#,Now(),0,# 12/22/2007#)+3
DateDiff("ww",# 12/22/2007#,Now(),0,# 12/22/2007#)+4
DateDiff("ww",# 12/22/2007#,Now(),0,# 12/22/2007#)+5

(the financial year starts on 12/22/07)

So it shows up perfectly. Here's where it gets hairy.

I also have another crosstab query that is exactly the same, but for another set of data (Lets call them Dataset A and Dataset B).

THEN, I have a third query that uses a junction table to pull the two crosstabs together so that my final result has columsn that look like this:

Name, , Etc.....Week1A, Week 1B, Week 2A, Week 2B, etc

This whole process worked fine for showing all 52 weeks. When I throw the criteria expressions on the column header fields in the crosstabs it creates a situation where the Column header names are different every week. This poses a problem because my joins on the juntion table query break when the column header names change. See my dilemma? This will also pose a problem when I go to make a report, because I wont know the names of the columns.

Any suggestions?

Thanks,
Henry
Mar 19 '08 #1
2 5632
Stewart Ross
2,545 Recognized Expert Moderator Specialist
...This poses a problem because my joins on the juntion table query break when the column header names change. See my dilemma? This will also pose a problem when I go to make a report, because I wont know the names of the columns.
Hi. Could you post the SQL for the two crosstab queries, and your join query please? I would suggest that the best way forward is to revise the query structure, joining Select queries then crosstabbing. Your current SQL will give some indication whether this is feasible or not.

As crosstabs create pivoted field names dynamically joining crosstabs together on those pivoted fields is not recommended. It is possible to assign static headers to a crosstab as a simple list of values, but this would not work in your case as the set of weeks roll over, and in any event with (from what you mention) up to 52 pivoted fields the list would be way too long.

-Stewart
Mar 20 '08 #2
hwalker
2 New Member
The First Crosstab is:

Expand|Select|Wrap|Line Numbers
  1. TRANSFORM Sum(MASTER_TABLE.ACT) AS SumOfACT
  2. SELECT TAB_2.OBS_HIERARCHY, MASTER_TABLE.PROJECT_ID, MASTER_TABLE.PROJECT_NAME, TAB_2.RESOURCE_ID, TAB_2.FULL_NAME, MASTER_TABLE.PRIMARY_ROLE, TAB_2.RESOURCE_MANAGER, TAB_2.EMAIL_ADDRESS, TAB_2.EMPLOYMENT_TYPE
  3. FROM ((MASTER_TABLE LEFT JOIN ASE_RESOURCE_EXCLUDE_TABLE ON MASTER_TABLE.RESOURCE_UNIQUE_NAME = ASE_RESOURCE_EXCLUDE_TABLE.NBKID) RIGHT JOIN TAB_2 ON MASTER_TABLE.RESOURCE_UNIQUE_NAME = TAB_2.RESOURCE_ID) LEFT JOIN CLARITY_WEEKS_TABLE ON MASTER_TABLE.SLICE_DATE = CLARITY_WEEKS_TABLE.START_DATE
  4. WHERE (((TAB_2.OBS_HIERARCHY)=[Forms]![Main_Form]![Combo19]) AND ((ASE_RESOURCE_EXCLUDE_TABLE.Name) Is Null))
  5. GROUP BY ASE_RESOURCE_EXCLUDE_TABLE.Name, TAB_2.OBS_HIERARCHY, MASTER_TABLE.PROJECT_ID, MASTER_TABLE.PROJECT_NAME, TAB_2.RESOURCE_ID, TAB_2.FULL_NAME, MASTER_TABLE.PRIMARY_ROLE, TAB_2.RESOURCE_MANAGER, TAB_2.EMAIL_ADDRESS, TAB_2.EMPLOYMENT_TYPE
  6. ORDER BY MASTER_TABLE.PROJECT_ID, TAB_2.FULL_NAME
  7. PIVOT CLARITY_WEEKS_TABLE.Week_Number In (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52);
  8.  
  9.  
The seconod Crosstab is :

Expand|Select|Wrap|Line Numbers
  1. TRANSFORM Sum(MASTER_TABLE.ALLOC) AS SumOfALLOC
  2. SELECT TAB_2.OBS_HIERARCHY, MASTER_TABLE.PROJECT_ID, MASTER_TABLE.PROJECT_NAME, TAB_2.RESOURCE_ID, TAB_2.FULL_NAME, MASTER_TABLE.PRIMARY_ROLE, TAB_2.RESOURCE_MANAGER, TAB_2.EMAIL_ADDRESS, TAB_2.EMPLOYMENT_TYPE
  3. FROM ((MASTER_TABLE LEFT JOIN ASE_RESOURCE_EXCLUDE_TABLE ON MASTER_TABLE.RESOURCE_UNIQUE_NAME = ASE_RESOURCE_EXCLUDE_TABLE.NBKID) RIGHT JOIN TAB_2 ON MASTER_TABLE.RESOURCE_UNIQUE_NAME = TAB_2.RESOURCE_ID) LEFT JOIN CLARITY_WEEKS_TABLE ON MASTER_TABLE.SLICE_DATE = CLARITY_WEEKS_TABLE.START_DATE
  4. WHERE (((TAB_2.OBS_HIERARCHY)=[Forms]![Main_Form]![Combo19]) AND ((ASE_RESOURCE_EXCLUDE_TABLE.Name) Is Null))
  5. GROUP BY ASE_RESOURCE_EXCLUDE_TABLE.Name, TAB_2.OBS_HIERARCHY, MASTER_TABLE.PROJECT_ID, MASTER_TABLE.PROJECT_NAME, TAB_2.RESOURCE_ID, TAB_2.FULL_NAME, MASTER_TABLE.PRIMARY_ROLE, TAB_2.RESOURCE_MANAGER, TAB_2.EMAIL_ADDRESS, TAB_2.EMPLOYMENT_TYPE
  6. ORDER BY MASTER_TABLE.PROJECT_ID, TAB_2.FULL_NAME
  7. PIVOT CLARITY_WEEKS_TABLE.Week_Number In (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52);
  8.  
  9.  
The Union/Junction Query is:

Expand|Select|Wrap|Line Numbers
  1. SELECT [PROJECT_ID],[RESOURCE_ID],[PROJECT_NAME],[FULL_NAME],[OBS_HIERARCHY],[PRIMARY_ROLE]
  2. FROM [WEEKLY_PAW_Crosstab_ACT]
  3.  
  4. UNION SELECT [PROJECT_ID],[RESOURCE_ID],[PROJECT_NAME],[FULL_NAME],[OBS_HIERARCHY],[PRIMARY_ROLE]
  5. FROM [WEEKLY_PAW_Crosstab_ALLOC];
  6.  
  7.  

And the Query that ties it all together (with all 52 weeks) is:

Expand|Select|Wrap|Line Numbers
  1. SELECT WEEKLY_PAW_JUNCTION_QUERY.OBS_HIERARCHY AS Hierarchy, WEEKLY_PAW_JUNCTION_QUERY.PROJECT_ID AS [Clarity ID], WEEKLY_PAW_JUNCTION_QUERY.RESOURCE_ID AS NBKID, WEEKLY_PAW_JUNCTION_QUERY.PROJECT_NAME AS [Project Name], WEEKLY_PAW_JUNCTION_QUERY.FULL_NAME AS [Resource Name], WEEKLY_PAW_JUNCTION_QUERY.PRIMARY_ROLE AS Role, WEEKLY_PAW_Crosstab_ALLOC.[1] AS [Allocated Week 1], WEEKLY_PAW_Crosstab_ACT.[1] AS [Actual Week 1], WEEKLY_PAW_Crosstab_ALLOC.[2] AS [Allocated Week 2], WEEKLY_PAW_Crosstab_ACT.[2] AS [Actual Week 2], WEEKLY_PAW_Crosstab_ALLOC.[3] AS [Allocated Week 3], WEEKLY_PAW_Crosstab_ACT.[3] AS [Actual Week 3], WEEKLY_PAW_Crosstab_ALLOC.[4] AS [Allocated Week 4], WEEKLY_PAW_Crosstab_ACT.[4] AS [Actual Week 4], WEEKLY_PAW_Crosstab_ALLOC.[5] AS [Allocated Week 5], WEEKLY_PAW_Crosstab_ACT.[5] AS [Actual Week 5], WEEKLY_PAW_Crosstab_ALLOC.[6] AS [Allocated Week 6], WEEKLY_PAW_Crosstab_ACT.[6] AS [Actual Week 6], WEEKLY_PAW_Crosstab_ALLOC.[7] AS [Allocated Week 7], WEEKLY_PAW_Crosstab_ACT.[7] AS [Actual Week 7], WEEKLY_PAW_Crosstab_ALLOC.[8] AS [Allocated Week 8], WEEKLY_PAW_Crosstab_ACT.[8] AS [Actual Week 8], WEEKLY_PAW_Crosstab_ALLOC.[9] AS [Allocated Week 9], WEEKLY_PAW_Crosstab_ACT.[9] AS [Actual Week 9], WEEKLY_PAW_Crosstab_ALLOC.[10] AS [Allocated Week 10], WEEKLY_PAW_Crosstab_ACT.[10] AS [Actual Week 10], WEEKLY_PAW_Crosstab_ALLOC.[11] AS [Allocated Week 11], WEEKLY_PAW_Crosstab_ACT.[11] AS [Actual Week 11], WEEKLY_PAW_Crosstab_ALLOC.[12] AS [Allocated Week 12], WEEKLY_PAW_Crosstab_ACT.[12] AS [Actual Week 12], WEEKLY_PAW_Crosstab_ALLOC.[13] AS [Allocated Week 13], WEEKLY_PAW_Crosstab_ACT.[13] AS [Actual Week 13], WEEKLY_PAW_Crosstab_ALLOC.[14] AS [Allocated Week 14], WEEKLY_PAW_Crosstab_ACT.[14] AS [Actual Week 14], WEEKLY_PAW_Crosstab_ALLOC.[15] AS [Allocated Week 15], WEEKLY_PAW_Crosstab_ACT.[15] AS [Actual Week 15], WEEKLY_PAW_Crosstab_ALLOC.[16] AS [Allocated Week 16], WEEKLY_PAW_Crosstab_ACT.[16] AS [Actual Week 16], WEEKLY_PAW_Crosstab_ALLOC.[17] AS [Allocated Week 17], WEEKLY_PAW_Crosstab_ACT.[17] AS [Actual Week 17], WEEKLY_PAW_Crosstab_ALLOC.[18] AS [Allocated Week 18], WEEKLY_PAW_Crosstab_ACT.[18] AS [Actual Week 18], WEEKLY_PAW_Crosstab_ALLOC.[19] AS [Allocated Week 19], WEEKLY_PAW_Crosstab_ACT.[19] AS [Actual Week 19], WEEKLY_PAW_Crosstab_ALLOC.[20] AS [Allocated Week 20], WEEKLY_PAW_Crosstab_ACT.[20] AS [Actual Week 20], WEEKLY_PAW_Crosstab_ALLOC.[21] AS [Allocated Week 21], WEEKLY_PAW_Crosstab_ACT.[21] AS [Actual Week 21], WEEKLY_PAW_Crosstab_ALLOC.[22] AS [Allocated Week 22], WEEKLY_PAW_Crosstab_ACT.[22] AS [Actual Week 22], WEEKLY_PAW_Crosstab_ALLOC.[23] AS [Allocated Week 23], WEEKLY_PAW_Crosstab_ACT.[23] AS [Actual Week 23], WEEKLY_PAW_Crosstab_ALLOC.[24] AS [Allocated Week 24], WEEKLY_PAW_Crosstab_ACT.[24] AS [Actual Week 24], WEEKLY_PAW_Crosstab_ALLOC.[25] AS [Allocated Week 25], WEEKLY_PAW_Crosstab_ACT.[25] AS [Actual Week 25], WEEKLY_PAW_Crosstab_ALLOC.[26] AS [Allocated Week 26], WEEKLY_PAW_Crosstab_ACT.[26] AS [Actual Week 26], WEEKLY_PAW_Crosstab_ALLOC.[27] AS [Allocated Week 27], WEEKLY_PAW_Crosstab_ACT.[27] AS [Actual Week 27], WEEKLY_PAW_Crosstab_ALLOC.[28] AS [Allocated Week 28], WEEKLY_PAW_Crosstab_ACT.[28] AS [Actual Week 28], WEEKLY_PAW_Crosstab_ALLOC.[29] AS [Allocated Week 29], WEEKLY_PAW_Crosstab_ACT.[29] AS [Actual Week 29], WEEKLY_PAW_Crosstab_ALLOC.[30] AS [Allocated Week 30], WEEKLY_PAW_Crosstab_ACT.[30] AS [Actual Week 30], WEEKLY_PAW_Crosstab_ALLOC.[31] AS [Allocated Week 31], WEEKLY_PAW_Crosstab_ACT.[31] AS [Actual Week 31], WEEKLY_PAW_Crosstab_ALLOC.[32] AS [Allocated Week 32], WEEKLY_PAW_Crosstab_ACT.[32] AS [Actual Week 32], WEEKLY_PAW_Crosstab_ALLOC.[33] AS [Allocated Week 33], WEEKLY_PAW_Crosstab_ACT.[33] AS [Actual Week 33], WEEKLY_PAW_Crosstab_ALLOC.[34] AS [Allocated Week 34], WEEKLY_PAW_Crosstab_ACT.[34] AS [Actual Week 34], WEEKLY_PAW_Crosstab_ALLOC.[35] AS [Allocated Week 35], WEEKLY_PAW_Crosstab_ACT.[35] AS [Actual Week 35], WEEKLY_PAW_Crosstab_ALLOC.[36] AS [Allocated Week 36], WEEKLY_PAW_Crosstab_ACT.[36] AS [Actual Week 36], WEEKLY_PAW_Crosstab_ALLOC.[37] AS [Allocated Week 37], WEEKLY_PAW_Crosstab_ACT.[37] AS [Actual Week 37], WEEKLY_PAW_Crosstab_ALLOC.[38] AS [Allocated Week 38], WEEKLY_PAW_Crosstab_ACT.[38] AS [Actual Week 38], WEEKLY_PAW_Crosstab_ALLOC.[39] AS [Allocated Week 39], WEEKLY_PAW_Crosstab_ACT.[39] AS [Actual Week 39], WEEKLY_PAW_Crosstab_ALLOC.[40] AS [Allocated Week 40], WEEKLY_PAW_Crosstab_ACT.[40] AS [Actual Week 40], WEEKLY_PAW_Crosstab_ALLOC.[41] AS [Allocated Week 41], WEEKLY_PAW_Crosstab_ACT.[41] AS [Actual Week 41], WEEKLY_PAW_Crosstab_ALLOC.[42] AS [Allocated Week 42], WEEKLY_PAW_Crosstab_ACT.[42] AS [Actual Week 42], WEEKLY_PAW_Crosstab_ALLOC.[43] AS [Allocated Week 43], WEEKLY_PAW_Crosstab_ACT.[43] AS [Actual Week 43], WEEKLY_PAW_Crosstab_ALLOC.[44] AS [Allocated Week 44], WEEKLY_PAW_Crosstab_ACT.[44] AS [Actual Week 44], WEEKLY_PAW_Crosstab_ALLOC.[45] AS [Allocated Week 45], WEEKLY_PAW_Crosstab_ACT.[45] AS [Actual Week 45], WEEKLY_PAW_Crosstab_ALLOC.[46] AS [Allocated Week 46], WEEKLY_PAW_Crosstab_ACT.[46] AS [Actual Week 46], WEEKLY_PAW_Crosstab_ALLOC.[47] AS [Allocated Week 47], WEEKLY_PAW_Crosstab_ACT.[47] AS [Actual Week 47], WEEKLY_PAW_Crosstab_ALLOC.[48] AS [Allocated Week 48], WEEKLY_PAW_Crosstab_ACT.[48] AS [Actual Week 48], WEEKLY_PAW_Crosstab_ALLOC.[49] AS [Allocated Week 49], WEEKLY_PAW_Crosstab_ACT.[49] AS [Actual Week 49], WEEKLY_PAW_Crosstab_ALLOC.[50] AS [Allocated Week 50], WEEKLY_PAW_Crosstab_ACT.[50] AS [Actual Week 50], WEEKLY_PAW_Crosstab_ALLOC.[51] AS [Allocated Week 51], WEEKLY_PAW_Crosstab_ACT.[51] AS [Actual Week 51], WEEKLY_PAW_Crosstab_ALLOC.[52] AS [Allocated Week 52], WEEKLY_PAW_Crosstab_ACT.[52] AS [Actual Week 52]
  2. FROM (WEEKLY_PAW_Crosstab_ALLOC RIGHT JOIN WEEKLY_PAW_JUNCTION_QUERY ON (WEEKLY_PAW_Crosstab_ALLOC.PROJECT_ID = WEEKLY_PAW_JUNCTION_QUERY.PROJECT_ID) AND (WEEKLY_PAW_Crosstab_ALLOC.RESOURCE_ID = WEEKLY_PAW_JUNCTION_QUERY.RESOURCE_ID)) LEFT JOIN WEEKLY_PAW_Crosstab_ACT ON (WEEKLY_PAW_JUNCTION_QUERY.PROJECT_ID = WEEKLY_PAW_Crosstab_ACT.PROJECT_ID) AND (WEEKLY_PAW_JUNCTION_QUERY.RESOURCE_ID = WEEKLY_PAW_Crosstab_ACT.RESOURCE_ID);
  3.  
  4.  

What I want to show is the previous two weeks, the current week and the next 6 weeks on a report. I'm currently working on a way to change the control source for the textfields in a report s follows:

Expand|Select|Wrap|Line Numbers
  1. Private Sub Command10_Click()
  2.  
  3.  
  4. Reports![WEEKLY_PAW_CROSSTAB_FINAL]!Text106.ControlSource = "Allocated Week " & FinancialWeek(Now)
  5. Reports![WEEKLY_PAW_CROSSTAB_FINAL]!Text63.ControlSource = "Actual Week " & FinancialWeek(Now)
  6.  
  7. Reports![WEEKLY_PAW_CROSSTAB_FINAL]!Text65.ControlSource = "Allocated Week " & FinancialWeek(Now)
  8. Reports![WEEKLY_PAW_CROSSTAB_FINAL]!Text67.ControlSource = "Actual Week " & FinancialWeek(Now)
  9.  
  10. Reports![WEEKLY_PAW_CROSSTAB_FINAL]!Text82.ControlSource = "Allocated Week " & FinancialWeek(Now)
  11. Reports![WEEKLY_PAW_CROSSTAB_FINAL]!Text83.ControlSource = "Actual Week " & FinancialWeek(Now)
  12.  
  13. Reports![WEEKLY_PAW_CROSSTAB_FINAL]!Text84.ControlSource = "Allocated Week " & FinancialWeek(Now)
  14. Reports![WEEKLY_PAW_CROSSTAB_FINAL]!Text85.ControlSource = "Actual Week " & FinancialWeek(Now)
  15.  
  16. Reports![WEEKLY_PAW_CROSSTAB_FINAL]!Text90.ControlSource = "Allocated Week " & FinancialWeek(Now)
  17. Reports![WEEKLY_PAW_CROSSTAB_FINAL]!Text91.ControlSource = "Actual Week " & FinancialWeek(Now)
  18.  
  19. Reports![WEEKLY_PAW_CROSSTAB_FINAL]!Text92.ControlSource = "Allocated Week " & FinancialWeek(Now)
  20. Reports![WEEKLY_PAW_CROSSTAB_FINAL]!Text93.ControlSource = "Actual Week " & FinancialWeek(Now)
  21.  
  22. Reports![WEEKLY_PAW_CROSSTAB_FINAL]!Text98.ControlSource = "Allocated Week " & FinancialWeek(Now)
  23. Reports![WEEKLY_PAW_CROSSTAB_FINAL]!Text99.ControlSource = "Actual Week " & FinancialWeek(Now)
  24.  
  25. Reports![WEEKLY_PAW_CROSSTAB_FINAL]!Text100.ControlSource = "Allocated Week " & FinancialWeek(Now)
  26. Reports![WEEKLY_PAW_CROSSTAB_FINAL]!Text101.ControlSource = "Actual Week " & FinancialWeek(Now)
  27.  
  28. Reports![WEEKLY_PAW_CROSSTAB_FINAL]!Text104.ControlSource = "Allocated Week " & FinancialWeek(Now)
  29. Reports![WEEKLY_PAW_CROSSTAB_FINAL]!Text105.ControlSource = "Actual Week " & FinancialWeek(Now)
  30. DoCmd.OpenReport "WEEKLY_PAW_CROSSTAB_FINAL", acViewPreview
  31.  
  32. End Sub
  33.  
But I cant seem to get it to work....

BTW, FinancialWeek returns a number, which is the financial week# for that date.

My reasoning for tieing the two crosstabs together is because I need a column for the ACT data and a column for the ALLOC data on each row..like this, for example:

Name|employeeID |ACT Week 1|ALLOC Week 1|ACT Week 2|ALLOC Week 2

Any thoughts would be greatly appreciated!

Thanks,
Henry
Mar 20 '08 #3

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

Similar topics

7
1638
by: SharkSYA | last post by:
After canvassing ideas it appears that the way I need to do it is not possible.There are 126 rooms, more to be added, and it needs to print a report or reports showing 76 days of bookings. There are two queries involved: Here's the code(Thanks Bob Q!) SELECT Calendar.Date, Bookings.room FROM Calendar, Bookings
1
17686
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
1
3345
by: Richard Hollenbeck | last post by:
Hello Newsgroup. You have all been very helpful in the past and I thank you. I try to ask relevant questions so that they don't just benefit me, but also benefit the group. I'm currently overwhelmed by useless examples across the web on how to make "dynamic crosstab reports" without myself having a basic understanding about how to retrieve and assign recordsources, etc., from fields in a query to fields in the report. I see all these...
3
3600
by: deejayquai | last post by:
Hi I've created a crosstab query and displayed it as a sub-report in my main report. This is fine until the data changes and the column names become incorrect. I know I have to create a 'dynamic crosstab query' but I don't know how to!! I've read the "How to..." on the Microsoft site but it mainly gives an example rather than explain the basics, which I can't work out. My context is:
2
2947
by: deejayquai | last post by:
Hi I'm trying to produce a report based on a dynamic crosstab. Ultimately i'd like the report to actually become a sub report within a student end of year record of achievement. The dynamic sub-report will capture what grades the student has achieved in a list of different subjects and the reason I need it to be dynamic is that students take different subjects. Basically I've been trying to doctor the KB article on dynamic
1
5168
by: Brad | last post by:
Thanks for taking the time to read my question. I have a table of data that has Date, Data and Category. I need to show, in a report, each Categories Data by Date. The Date has to be it's own column across the top and Category down the left side. As data is entered, the number of unique dates increases. As a result the
13
17171
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.
0
2323
by: Peter Herath | last post by:
I want to create a custormizable report . For an example, there's a form with four combo boxes and two of them having database tables columns/field names as values in the combo box(one for select row filed and other one for select column filed in the report) when u select items in that combo boxes and press a Button then selected items should go to the crosstab query as parameters and execute the query. upto that i have done my coding part but...
14
7868
ollyb303
by: ollyb303 | last post by:
Hi, I am trying to create a dynamic crosstab report which will display number of calls handled (I work for a call centre) per day grouped by supervisor. I have one crosstab query (Query1) which has the following fields: SPID (supervisor ID), total:group by, as row heading Date, total:group by, as column heading Calls handled, total:sum, as value Date, total:where, criteria between and - this is taken from a form,
0
9734
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10656
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10397
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10413
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,...
0
10138
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 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...
0
9214
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, 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...
0
6897
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();...
1
4353
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
3
3027
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.