Reports :: Hidden Query Request In Report Design

Nov 20, 2013

I am trying to discover the code that is asking for a phantom query in Subreports. Each Subreports control source query works fine.

I have attached two zipped files

1. Database stripped to send
2. SnapShots of the problem.

View Replies


ADVERTISEMENT

Reports :: Eliminate Whitespace For Hidden Report Columns

Aug 20, 2013

I have a large tabular report, 22" and 18 columns. In the report footer I have for each column a series of calculated fields, specific to that column. For example, one of my columns is NumberofCreditsEarned. The calculated fields at the bottom of it are min, max and avg. Another one is Gender, and the calculated fields at the bottom of that one count the males and females and give percentages of each.

I designed a basic form with 18 checkboxes, so users could select as many or as few columns as they want. My original idea was to use the checkboxes to show the desired columns (along with the calculations for those columns) and hide the rest.

The issue is that while the column may be hidden, the white space is not. If I can't find a way to get rid of it, my reporting tool won't be feasible to use. I've researched using "can grow" and "can shrink", but I dont think they'd work on a tabular report like this, where all of the controls are the same height and width, and on the same line.

View 8 Replies View Related

Reports :: Possible To Open A Report With Access Main Window Hidden?

Jul 18, 2014

I'm working on a database that produces employee contracts. To make it look as professional as possible I hide the Access main window when the splash screen loads using the ShowWindow function. The various forms to check and enter details all pop up without any problem, but when I get to the last stage where I use a report to produce the contract and then open it in PrintPreview mode, it won't display (unless I show the main window again , which looks very untidy!). Is it actually possible to display a report with the main Access window hidden?

View 6 Replies View Related

Request For Help On Database Design

Oct 6, 2006

To all you access Gurus

I have been asked to look at setting up and access database to do the following

To keep a record of pupils and 9 tasks the pupils have to do and also the total amount of time it took a pupil to do this task
They have a total of 25 Hours to do all tasks but this is spread out over the year.

What I need is someone to tell me the best table layout to do this

The pupil record has to have the following
First Name
Surname
Form
Total Hours taken for all 9 Objectives
A description of what the pupil did to achive each Objectives
record if that task is complete
Also Date Task was Complete

I have done a test database with just one table in it and inside that table
had all of the above but apart from name, form and total hours I repeated the rest nine times.
This just does not seem right

What I want is to pull up the pupil name and then select Task say from a Drop down box this would then insert a new field if it did not allready exist in pupil recored and then you can fill in the task details of course if the field/s all ready existed then to open that up to allow you to update this

It would then need to update the total Hours field in the pupil record with the hours it took to do that task/objective.


I have basic Access knowledge but i cannot think of best way to achive this can anyone help please


Stuart Purvis
ICT TECHNICIAN
HILBRE HIGH SCHOOL

View 3 Replies View Related

Reports :: Attendance Report Design From Excel Data

Feb 9, 2015

I receive attendance data in Excel with two columns, StaffCode and DateTime, from a biometric machine.

Each staff member clocks in in the morning and clocks out in the evening.

Optionally, they also clock out for lunch and back in after lunch.

Each StaffCode may therefore have 2 or 4 entries per day of attendance.

Staff details (name and department) are specified in a related table.

I wish to design two reports in Access as follows:

1. Daily Attendance Report (Filtered by current date or custom parameter)
Department (1st Group level)
StaffName ClockedIn LunchOut LunchIn ClockedOut

2. Weekly/Monthly Attendance Report (filtered by current week/month or custom parameter)
Department (1st Group level)
Date (2nd Group level)
StaffName ClockedIn LunchOut LunchIn ClockedOut

View 1 Replies View Related

Reports :: Unable To Produce A Report Which Uses A Static Design And Does Not Change

Jun 13, 2013

I'm trying to produce a report which uses a static deisgn and does not change. For example,I require in the detail of the report a table say 3 * 8 ....and in the report I need the data to fill each one of these cells. However I may not have 8 records , therefore I need the remaing columns/cells empty - the design of 3 * 8 must not change... at the moment I have a dynamic design so if i have 3 records I have 3 *3 table leaving a massive gap on the report.

View 2 Replies View Related

Reports :: Duplicate Fields Not Always Hidden

Feb 22, 2015

I have a report based on a query.

I have this grouped by a jobid.

For each field on the report I have hide duplicates set to yes. for each job id most of the line should be hidden except for a couple of fields (part used and description).

This works in 99% of cases but I occasionally I get the whole line repeated

I've treble checked that the fields are duplicates (they are) and am at a loss what to look for.

View 2 Replies View Related

Reports :: Hidden Count Box For Dividing A Set Of Values

Aug 11, 2015

I am trying to get my report to divided numbers that are there. I get this data from subreports, then want it divided by the appropriate number. Example:

23
0
10
15
0
0
this would equal 48, but I want it to be divided by 3, not by 6. Or say the next report would have:

10
10
5
0
10
10

which would equal 45 and this would be divided by 5, not by 6.I was wondering is there a way by creating a hidden box that would check each value to see what it would be divided by. Example: iff(report.hasdata, control +=1)

View 9 Replies View Related

Reports :: Find And Replace Text Across Many Text Boxes In Report Design

Jan 30, 2015

Is it possible to use find and replace to modify text in report design - or else is there something else I can do to get the same effect? I have a really useful report and I want to modify it for use with a different dataset. To do that I will need to change the text in over 150 text boxes. I have seven different fields which each occur over 20 times in the control source formulas in the text boxes, because they are used in different ways in different calculations. If this was excel I could do a simple find and replace to change e.g. every reference to fieldname OLD to fieldname NEW, but I cannot see how to do that within access report so am haveing to click on each text box in turn, go to properties and edit the text box .

I am trying to switch to a more general naming system in the modified report so then I will be able to assign data with the required fieldnames for the report within a query. But the report I am starting with has field names based on years 2013, 2014, 2015 etc.I want a quick way to change each reference to those field names to my more generic new field names.

View 2 Replies View Related

Export Hidden Data From Report

Jan 20, 2012

Any way to export data from a report if it is hidden.

View 13 Replies View Related

Modules & VBA :: Write SQL Query And Design Report With Proper Field Positions

Jul 1, 2015

I need to display the year, Date, agent name, amount field, note and sub total for each year.I need to write the SQL query code in VBA and i designed the report with proper field positions.

YEAR column: Display Value only once for the FIRST ROW for Maximum value of Date field value for each set of YEAR. If it has only one record, it display that year.SUB TOTAL Column: Display Total Value for Amount field only once for the LAST ROW of each set of year record (Mininum value of year). How to make it available the values for first and last record alone ?

I just wrote my SQL code based on your inputs in my editor..Based on the input from Plog (from this forum), i wrote a code which listed below.

Code:
Private Sub Report_Open(Cancel As Integer)
Me.RecordSource = "SELECT CessioneCredito.Anno, CessioneCredito.Data_Movimento, CessioneCredito.Note_Liq_Cessione_Credito, CessioneCredito.Importo, " & _
" Agenzie.Denominazione, DCount("[Anno]","CessioneCredito","[Anno]=" & [Anno]) AS GroupSize,

[Code] ....

While saving it, it shows the code in RED COLOR due to compilation error.As I am writing the query in Me.Recordsource = "SQL query", where i should place the below listed code in the query as per Plog???

Change the Year Control Source to this:
=IIf([GroupPos]=1,[Year])
Change the GroupTotal Control Source to this:
=IIf([GroupPos]=[GroupSize],[GroupTotal])

If this is not possible in Me.recordsource, then its advisable to use recordset like writing in two different queries.

Code:
Dim ds1 As Recordset
Dim ds2 As Recordset
myquery1 = "SELECT CessioneCredito.ID_Agente, CessioneCredito.Data_Movimento, CessioneCredito.Importo, CessioneCredito.Anno, CessioneCredito.Note_Liq_Cessione_Credito, Agenzie.Denominazione
FROM CessioneCredito INNER JOIN Agenzie ON CessioneCredito.ID_Agente=Agenzie.ID_agenzia
WHERE (((CessioneCredito.ID_Agente)=[Reports]![R_StoricoCessCredAg]![ID_Agente]))"

[code]....

View 2 Replies View Related

Another Query Help Request

Oct 26, 2006

I have a query which selects a complete list of companynames and producttypes, and another query which selects a few companynames and producttypes. What would be the query to select the companynames and producttypes from the first query that do not include the companynames and producttypes from the second query?

View 2 Replies View Related

Report Design Response Is Slow - Based On UNION Query That Returns 12K Rows

May 20, 2005

I have a front end that is connected to three back end files. The front end is on my local computer while the back end files are on a network drive.

There are a lot of calculations that go into the queries and intermediate queries. For a report, I have based it on a UNION query.

But when trying to design the report it takes about 45 seconds just to do any one thing, e.g.;
- Add Groupings
- Add Grouping Headers//Footer, sorting option
- Add bound textbox
:eek:

Needless to say this is very annoying.
:mad:

The union query itself runs fine (takes about 15 seconds to run) and returns about 12,000 Rows. The union query looks like this (I changed the field names to make it read easier, hopefully);

SELECT a1, a2, a3, a4, a5
FROM qry_A;

UNION SELECT ALL a1, b2 AS a2, b3 AS a3, a4, a5
FROM qry_B;

UNION SELECT ALL a1, c2 AS a2, c3 AS a3, a4, a5
FROM qry_C;

UNION SELECT ALL a1, d2 AS a2, a3, a4, a5
FROM qry_D;

UNION SELECT ALL a1, e2 AS a2, a3, a4, a5
FROM qry_E;

UNION SELECT ALL a1, f2AS a2, tblG.f3 AS a3, tblG.f4 AS a4, a5
FROM qry_F;

One solution I came across when searching the forums was to use an Append Query to append the query results to a table and base my report on that. This does indeed fix the problem.

But what I was wondering if it was is my query design that is causing it to be slow or is it just the fact that I am returning 12,000 rows?
:confused:

In case it matters, I wanted to mention that I can’t use the report wizard to create the report. When I select the union query, the fields will be showed for awhile then they just disappear. That in and of itself doesn’t cause any trouble since I am creating the report using the design view and not the wizard.

View 7 Replies View Related

Urgent Help Request On Query !!!! Please

Jun 5, 2006

Hi All,
Can anyone help me count postcode instances. I have a query that looks at my customers table (tbl_Customer_Details) post code field (PostCode), at the moment I have got it to strip out the right side of the postcode leaving me the left district side eg. HG12 8EN becomes HG12. I would then like to count how many times each postcode instance occurs so I can create a report on the result so I can track which district the customers are coming from. I hope this explains the problem. Any help would be much appreciated as I promised the Boss this for tomorrow....:confused:

this is my SQL so far, it strips out the left of the postcode:

SELECT tbl_Customer_Details.PostCode, Left([Postcode],4) AS Code
FROM tbl_Customer_Details
GROUP BY tbl_Customer_Details.PostCode;


What do I add to do the count?

View 5 Replies View Related

A Basic Delete Query Request

Jun 5, 2006

Hi All,

I have two tables; "Section_Failure_Mode" and "Risk_Assessment". They are linked by a common field called section_failure_mode_id. I would like to write a query where you can delete every record in "Risk_Assessment" where the checkbox (called Selected) is not selected (i.e. equal to 0) in the table "Section_Failure_Mode". However, I do not want any records to be deleted from "Section_Failure_Mode", only from "Risk_Assessment".

I have put a link to the screen cap of the query I have tried below. Is this the correct way to do it?

13797

Best Regards,

Aaron

View 1 Replies View Related

Request Assistance With A Query On A Date Field

Feb 22, 2006

I am looking for assistance creating a query on a date field that will go
back three business days from the current date. It must not show inclusive
days, as in yesterday and the day before. Just the 3rd day past and not
counting weekends. Also holidays would need to be considered.
Thanks for any assistance
RW

View 3 Replies View Related

Display Hidden Query?

Jan 17, 2008

i accidentally change a property of a query to hidden, i don't know how to make the query displayed again.

what should do?

View 3 Replies View Related

Nightmare Query - ? Hidden Problem

Sep 19, 2005

Hi
I have created a monster I think and I am not sure how or why.
I needed a query to tie together data from a range of tables and so it has about 20 constituent queries, each of which involves some calculation.
The query isn't so horrendous
SELECT tblApplications.lngApp, qryExpWkHomeHelp.WkHomeHelp, qryExpWkPrescrip.WkPrescrip, qryExpWkHosp.WkHosp, qryExpWkRent.WkRent, qryExpWkSup.WkSup, qryExpWkInt.WkInt, qryExpWkLife.WkLife, qryExpWkCouncil.WkCouncil, qryExpWkCar.WkCar, qryExpWkCar1.WkCar1, qryExpWkHp.WkHp, qryExpWkDep.WkDep, qryExpWkCont.WkCont, qryExpWkProp.WkProp, qryExpWkOther.WkOther, qryExpWkTel.WkTel, qryExpWkTv.WkTv, qryExpWkWater.WkWater, tblApplications.lngAppCon, tblApplications.bAppEleg, tblApplications.dtmAppGcSub
FROM qryExpWkWater RIGHT JOIN (qryExpWkTv RIGHT JOIN (qryExpWkTel RIGHT JOIN (qryExpWkOther RIGHT JOIN (qryExpWkProp RIGHT JOIN (qryExpWkInt RIGHT JOIN (qryExpWkLife RIGHT JOIN (qryExpWkCouncil RIGHT JOIN (qryExpWkHp RIGHT JOIN (qryExpWkDep RIGHT JOIN (qryExpWkCont RIGHT JOIN (qryExpWkCar1 RIGHT JOIN (qryExpWkCar RIGHT JOIN (qryExpWkSup RIGHT JOIN (qryExpWkRent RIGHT JOIN (qryExpWkPrescrip RIGHT JOIN (qryExpWkHosp RIGHT JOIN (qryExpWkHomeHelp RIGHT JOIN tblApplications ON qryExpWkHomeHelp.lngExpApp = tblApplications.lngApp) ON qryExpWkHosp.lngExpApp = tblApplications.lngApp) ON qryExpWkPrescrip.lngExpApp = tblApplications.lngApp) ON qryExpWkRent.lngExpApp = tblApplications.lngApp) ON qryExpWkSup.lngExpApp = tblApplications.lngApp) ON qryExpWkCar.lngExpApp = tblApplications.lngApp) ON qryExpWkCar1.lngExpApp = tblApplications.lngApp) ON qryExpWkCont.lngExpApp = tblApplications.lngApp) ON qryExpWkDep.lngExpApp = tblApplications.lngApp) ON qryExpWkHp.lngExpApp = tblApplications.lngApp) ON qryExpWkCouncil.lngExpApp = tblApplications.lngApp) ON qryExpWkLife.lngExpApp = tblApplications.lngApp) ON qryExpWkInt.lngExpApp = tblApplications.lngApp) ON qryExpWkProp.lngExpApp = tblApplications.lngApp) ON qryExpWkOther.lngExpApp = tblApplications.lngApp) ON qryExpWkTel.lngExpApp = tblApplications.lngApp) ON qryExpWkTv.lngExpApp = tblApplications.lngApp) ON qryExpWkWater.lngExpApp = tblApplications.lngApp
WHERE (((tblApplications.bAppEleg)=Yes) AND ((tblApplications.dtmAppGcSub) Is Null));

Well maybe it is pretty horrific!
However it is taking nearly two minutes to load on a fast PC (3.4GHz Pentium 4 with 1Gb RAM) so put it on a basic desktop and it will die.
I did wonder about fragmenting it into four queries and then putting one query at the top of the nest but reckon that's another layer and all the calculations need to be done.
Basically the sub queries are calculating a weekly value based upon input and periodicity of payments - i.e. if quarterly then it divides the payment by 13.
Any thoughts on how I could speed it up?
Thanks in anticipation

View 4 Replies View Related

Reports :: Using A Value On A Report For A Query

Jul 22, 2015

I have a report when i send units back to the customer, the report generates an ID in a list box (a query picks the last ID used and adds 1)

after the report prints i use an update query to mark the units as "shipped" with the dates in the main table. i need the update query to use the value from the list box to update the value in the table.

View 2 Replies View Related

Reports :: Filter A Report Not Query

Jun 27, 2014

I have a report based on a query.There is a field in my personnel table and the query: [Field] with values from my lookup table and has three choices:

1-Inspections
2-Administrative
3-Safety..

I have a report and would like to filter based on [Field].I can filter by putting [Field]=Inspection on the Filter On Load, then typing 1 into the parameter box. And it works.I cannot however choose more than one of the three choices and I have to type the number in. Fine for me but it won't be for other users.it is used for more than one report. I would also like to avoid having seperate queries for all these reports.In other words, I would like to filter the report, not the query.

View 14 Replies View Related

Reports :: Report Based On A Query?

Nov 3, 2014

I want to be able to run a report based off my "Allot_Q" query. I have a button to perform the report but would like the button to update the query and run my report based on my selection text boxes. Right now I have one button the runs the query based on the selection and then another button to run the report. My boss wants one button to pull the report based on the selection.

View 1 Replies View Related

Reports :: Query Data To Appear On Report

Jun 3, 2013

I am having trouble getting data to appear on my Report. The report is based of a Query, qryLabel. When I run qryLabel the correct data is displayed but when I try to use this data on the Report, I get an #Error or #Type. Here are the methods I have tried so far to get the data on my Report:

DLookUp
=DLookUp("[StoneLength]","Stones","[StoneName] = Forms![Product]![ProductID]")

Using The Query
=[qryLabel]![StoneLength]

Using the Table
=[Stones].[StoneLength]

View 1 Replies View Related

Reports :: How To Add Recordset In Report Query

Aug 14, 2013

Code:

Private Sub Command37_Click()
Dim db As DAO.Database
Dim rsItems As DAO.Recordset
Dim SQL As String
Dim currentItemNumber As Long

[code]....

adding record set in report and displaying a report..i want every record to pass thru recodset and create a report for every record separately

View 1 Replies View Related

Reports :: Run A Report From Query With Different Results

Jun 6, 2013

I am relatively new to writing databases in access, I did some a long time ago, but cant remember what on earth I used to do.

I have created a database with all the information I need it and have a query set up that gives different results depending on the information the user has entered

The user decides what the query will display though a form.

I want access to generate a report with the information in it that the query chucks out.

However the information the query gives changes every time depending on the user input.

View 5 Replies View Related

Reports :: Report From Query Based On ID

Oct 10, 2013

there is a query and report "01 qry Main" and from the main FORM I like to print out into txt file actual record, my code is:

Private Sub Command24_Click()
On Error GoTo Err_Command24_Click
Dim stDocName As String
stDocName = "01 qry Main"
DoCmd.OutputTo acOutputReport, "01 qry Main", acFormatTXT, "D:10 DbaseCTQ stuffsaveReportFormat.txt", False

code]...

there should be an option "ID = " & Me.ID.Value or something like this to print out only actual record.

View 6 Replies View Related

Reports :: Using Form Or Query To Generate Report

Apr 10, 2013

Using a table with employees, I created another with equipment that uses a lookup to assign each piece of equipment to an employee (more than 1 piece of equipment can be assigned to each employee)

I want to be able to select records using a form, either by checkbox or listbox of which employees to include in the report that shows what equipment each is assigned. The problem I am having is creating the form/code to create the and/or query to generate the report.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved