Tables :: Generating Monthly Report - Reserved Error 1524
Mar 12, 2013
i have a table on my database from which i generate a monthly report by running a query. when i run the query (date from to date to) i have no problem. it shows me all the relevant records. when i want to generate a report, i input the start date and the closing date for the report. it then gives me an error (reserved error (-1524); there is no message for this error.) i have gone into the table and basically isolated all the corrupted entries. there are 359
what i need to know is how to repair these entries without losing the information. im new to access and this is a simple(kinda) database which i set up to keep track of what the staff in my department are doing on a daily basis.
im running access 2007.
View Replies
ADVERTISEMENT
Jun 1, 2013
I've got a simple invoice database with 10 amount fields, that needs to be summed up intoa Total including Gst box on a monthly report.
Report only has Date, Invoice Number And Total Amount fields on it, so I need to pull the information from table and sum it into Total Amount.
ie. = sum ( t1 +t2 + t3 + t4 + t5 + t6 + t7 + t8 + t9 + t10)
and sum above divided by 10% then added together to form total.
I'm just not sure how to do it, everything I've tried so far ain't worked.
Every example I've looked at is only doing maths with 1 field.
View 4 Replies
View Related
Apr 7, 2008
I have a database that dumps data to another database with an append query which is activated by a button on a form. This works fine in Access 2003 but when we load it in Access 2007 and run it it somes up with the error Reserved error (-1524); there is no message for this error.
Any suggestions as what to do?
View 7 Replies
View Related
Mar 31, 2006
Does anybody know what this error message refers to?
"Reserved Error (-1517); there is no message for this error."
It just started happening today, and I haven't even made any changes to the database. It occurs when I hit a button I have to run a macro.
the macro does the following:
1) Shows all records
2) Requery
3) ApplyFilter.
The Where Condition for the filter is:
Right([tblContracts].[JobNum],4)=Right([Forms]![FrmContProc].[txtFindJobNum],4)
The weird thing is that it only occurs if the Form window is taller than 1/2 of my viewable area. If the Form window is 1/2 the viewable area or shorter, it works OK. This was running fine earlier today, but about 4:00 pm (03/31/06) this started happening.
If anybody knows what this error means, or how to get rid of it (I really need to use this window in full-screen) then please let me know.
-Thanks, Sean
View 10 Replies
View Related
Nov 4, 2005
A query that I have been running without error for months has suddenly failed. When I try to run it I get this error message:
Reserved error (-1517); There is no message for this error
The query is
INSERT INTO DISPUTESPortal
SELECT DISPUTES.*
FROM DISPUTES;
Like I said, this has worked for months, but just started failing the other day. Neither table's layout has changed.
Any idea what this error is, and how to get my query working again?
Thanks,
David
View 1 Replies
View Related
Jan 29, 2007
WTF does this mean?
ugh
nothing on google with this error message
thanks
sportsguy
View 6 Replies
View Related
Mar 5, 2006
insert words that are not for public . . . .
I have a large text file, 800 megs,
354000 records. . .
and when i run the following query . . .
INSERT INTO ACEimport ( CustomerID, ContractID, ContractModifier, ContractLine, ServiceProgram, Invoice, InvoiceLine, InvoiceDate, TransactionType, EffDate, EndDate, Duration, UOM, AcctRule, BillCycle, BAMA, EOPBillFlag, Product, CValue, InvoiceTotal, RevenueTotal, GLDate, InvoiceLineTot, ContractLineTot )
SELECT Xrevenueoracle.CustomerID, Xrevenueoracle.ContractID, Xrevenueoracle.ContractModifier, Xrevenueoracle.ContractLine, Xrevenueoracle.ServiceProgram, Xrevenueoracle.Invoice, Xrevenueoracle.InvoiceLine, Xrevenueoracle.InvoiceDate, Xrevenueoracle.TransactionType, Xrevenueoracle.EffDate, Xrevenueoracle.EndDate, Xrevenueoracle.Duration, Xrevenueoracle.UOM, Xrevenueoracle.AcctRule, Xrevenueoracle.BillCycle, Xrevenueoracle.BAMA, Xrevenueoracle.EOPBillFlag, Xrevenueoracle.Product, IIf(IsNull([ContractValue]),0,[ContractValue]/100) AS CValue, IIf(IsNull([InvoiceAmt]),0,[InvoiceAmt]/100) AS InvoiceTotal, IIf(IsNull([RevenueAmt]),0,[RevenueAmt]/100) AS RevenueTotal, Xrevenueoracle.GLDate, IIf(IsNull([InvoiceLineAmt]),0,[InvoiceLineAmt]/100) AS InvoiceLineTot, IIf(IsNull([ContractLineAmt]),0,[ContractLineAmt]/100) AS ContractLineTot
FROM Xrevenueoracle
WHERE (((Xrevenueoracle.GLDate)>#1/28/2006# And (Xrevenueoracle.GLDate)<#3/5/2006#));
I get the reserved -1517 error, i have compacted and repaired the destination file, and i have scrolled through with a query and can't find it. . .
Before inserting the Null, i used to get another error of Numeric Overflow. . . and i was hoping that the null error handling would get rid of it. . . but no such luck. ..
any suggestions oh wiser ones?
thanks
sportsguy
View 1 Replies
View Related
May 10, 2005
ok i think i know what i need (searching the forums gave me the idea)
i have query that generates a report, i need this report to be flitered monthly
is it possible to have afield where i enter the month so when i press the monthly report button it just prints any entries in that month
please can someone oint me in the right direction.
View 2 Replies
View Related
Aug 2, 2006
I am trying to create an inventory which list sales by month. I have created a crosstab query from the detail history table which works fine except I would like a record for each month whether there was sales or not. So on the report I would have all 12 months for each item with the months with no sales displaying zero.
Any suggestions?
Valerie
View 6 Replies
View Related
Jun 27, 2005
Hi every body. I wonder how i can generate and load a report when a button is clicked on access 2000 form. I be happy if some one show me an example.Thanks
View 1 Replies
View Related
Feb 13, 2006
Hello folks
am working on report generation on performance of my department. I need help to develop in Access. If anyone can help me in developing it? i had started with tables. If u have some spare time, please mail me at nrmarthi@hotmail.ca.
Thank you
Marthi
View 1 Replies
View Related
Mar 13, 2008
created a form with several Drop downs, S/N, Location, Manufacturer, Model, Model Number, and Owner.
All the drop downs are based off of forms, i queried the main inventory to have this info and a couple peaces of information. applied the relationships.
If i try to make a macro filtering the conditions, if i leave any of the fields blank nothing comes up in the search.
is there a VB code that i can use that wont include "null" fields or will this not work with 6 different filters applied all in one macro.
furthermore after the search i want the ability to print the search results using a report design.
is this possible?
View 2 Replies
View Related
Jun 7, 2005
Hello guys,
I have created a form which generates the data into new access database,now I have to show a message "Processing" while data gets generated. And when its done this message should go away by itself,so any suggestion please let me know.
Hope to get answer..
vsap
View 1 Replies
View Related
Feb 8, 2008
First off, can it be done? I'm using Microsoft Access 2007, I'm wanting to generate an auto-number on the report. Basically I have an OrderTable, a PartTable, and a PackingListTable. I have a report that shows all orders ready to be shipped. But I need the shipping report to have a packing list number. I want this number to be auto-generated, and I was hoping I could do this when the report is opened. Right now the report is generated through a query of orders that are ready to be shipped. Yet I can't figure out how to put an auto-generated packing number on the report.
View 1 Replies
View Related
Jul 30, 2014
I have a database with a bunch of related tables. One holds information on (let's say) types of food. A field in that table tells whether the food is HOT or COLD. Foods are grouped by MEALS in a related table - the PK of the foods table is stored as an field in the MEALS table. What people here are looking for is a report that lists all the foods in each MEAL, the temperature of the food, and whether the meal is HOT, COLD, or MIXED - foods are both HOT and COLD. I've got a report that lists all the FOODs, grouped by MEALs - it's just the overall temperature of the MEAL that I am missing right now.
View 9 Replies
View Related
Jul 3, 2014
I am trying to run simple query make a chart in report through this query but its not generating chart?
SELECT [Unsafe Act Unsafe Condition].[Inspection Audit], Count([Unsafe Act Unsafe Condition].[Inspection Audit]) AS [CountOfInspection Audit]
FROM [Unsafe Act Unsafe Condition]
WHERE ((([Unsafe Act Unsafe Condition].Date) Between [Forms]![frmSafetyReportOut]![startDate] And [Forms]![frmSafetyReportOut]![endDate])) OR ((([Unsafe Act Unsafe Condition].Department)=[Forms]![frmSafetyReportOut]![cboDepartment]))
GROUP BY [Unsafe Act Unsafe Condition].[Inspection Audit]
HAVING ((([Unsafe Act Unsafe Condition].[Inspection Audit]) Is Not Null) AND ((Count([Unsafe Act Unsafe Condition].[Inspection Audit])) Is Not Null));
View 1 Replies
View Related
Jan 19, 2006
My boss wanted me to develop a way for a department to do a monthly report from Access. In the beginning, I set up a login for the user, then the user would input a start date and an end date to retreive the report. However, I just put part of the report up and will need to put what ever information they needed in the report. So, I did all the queries in Access and it produces correct result. Now I have to some how put it in ASP file including all those queries but dont know exactly how I would do it since I would not have a name for each query that I did in Access. Plus, in Access I used a fix date range to check the query and it works. So, I replaced 8/1/2005 with 'txtStartDate' and replaced 8/31/2005 with 'txtEndDate' and it works for one of the query. Now I when I looked at the rest of the queries I made in Access I would have to make some adjustment including the one that calculate the percentage from 2 queries. Below are several queries I made in Access but will need to somehow incroporate in ASP file.
(I replaced 8/1/2005 with 'txtStartDate' and 8/31/2005 with 'txtEndDate' in ASP file and it works. Need to do that with the rest of the queries)
Query1 (count number of record in group A)
Code:SELECT tblNatureOfCall.NatureDesc, SUM(IIf([dateofcall]>=#8/1/2005# And [dateofcall]<=#8/31/2005#,1,0)) AS CountofLogsFROM tblNatureOfCall LEFT JOIN tblCallLog ON tblNatureOfCall.ID=tblCallLog.NatureOfCallIDGROUP BY tblNatureOfCall.NatureDesc;
Query1Total (Sum of count number of record of Query1 group)
Code:SELECT Sum(IIf([dateofcall]>=#8/1/2005# And [dateofcall]<=#8/31/2005#,1,0)) AS CountOfDispositionOfPatientID, tblDispositionOfPatient.DispositionFROM tblDispositionOfPatient INNER JOIN tblCallLog ON tblDispositionOfPatient.ID=tblCallLog.DispositionO fPatientIDWHERE tblDispositionOfPatient.Disposition="TRANS"GROUP BY tblDispositionOfPatient.Disposition;
Query1Percent (This find the % from Query1 and Query1Total. Need a code to format in % form as 34.00 not .3400)
Code:SELECT (SUM(IIf([dateofcall]>=#8/1/2005# And [dateofcall]<=#8/31/2005#,1,0)))/Total AS Expr1FROM tblNatureOfCall LEFT JOIN tblCallLog ON tblNatureOfCall.ID=tblCallLog.NatureOfCallIDGROUP BY tblNatureOfCall.NatureDesc;
Query1TotalPercent (This find the percent of a group out of the total of 2 groups)
Code:SELECT [Query1Total]![CountOfDispositionOfPatientID]/[TotalQuery]![Total] AS Expr1FROM TotalQuery, Query1Total;
Query2 (count number of record in Group B)
Code:SELECT Sum(IIf([dateofcall]>=#8/1/2005# And [dateofcall]<=#8/31/2005#,1,0)) AS CountOfDispositionOfPatientID, tblDispositionOfPatient.DispositionFROM tblDispositionOfPatient LEFT JOIN tblCallLog ON tblDispositionOfPatient.ID=tblCallLog.DispositionO fPatientIDWHERE tblDispositionOfPatient.Disposition<>"TRANS"GROUP BY tblDispositionOfPatient.Disposition;
Query2Total (Sum of count number of record in Group B)
Code:SELECT Sum(Query2.CountOfDispositionOfPatientID) AS PatientIDTotalFROM Query2;
Query3 (count number of record of group C)
Code:SELECT Sum(IIf([dateofcall]>=#8/1/2005# And [dateofcall]<=#8/31/2005#,1,0)) AS CountOfPatientDestinationID, tblHospital.HospitalNameFROM tblHospital LEFT JOIN tblCallLog ON (tblHospital.ID = tblCallLog.PatientDestinationID) AND (tblHospital.ID = tblCallLog.NotifyHospitalID)WHERE tblHospital.HospitalName <> "HCO"GROUP BY tblHospital.HospitalName;
TotalQuery (sum of Query1 count number of record and Query2 count number of records)
Code:SELECT Sum(IIf([dateofcall]>=#8/1/2005# And [dateofcall]<=#8/31/2005#,1,0)) AS TotalFROM tblNatureOfCall LEFT JOIN tblCallLog ON tblNatureOfCall.ID=tblCallLog.NatureOfCallID;
These are the queries done in Access but will need to incroporate in ASP. Query1 is already in ASP, just need to add the rest of the queries. Dont know how I would do it.
View 1 Replies
View Related
May 5, 2014
I am constructing a database for a friend and need to filter data from a daily log to enable a report to be generated for each months actions. I have created fields of: entry date, month and year with the view of filtering by month and year. How do I perform this task?
View 3 Replies
View Related
Sep 9, 2013
I have a library function that will allow the user to nominate a query (as one of its arguments) in the calling application which must have an email field. The function will then Do Loop the email field, concatenating it before creating an email and addressing it. The intended functionality is that a developer can easily create a group email, just by creating a query.
This works fine if the query is filtered "statically" - i.e. I specify which group of people by typing in their "Site_ID" in the criteria. However I want developers to be able to creating dynamically filtered queries (perhaps by the group's ID on a calling form). Within the query (to test it), the filter is therefore [Forms]![Test Function Calls]![Site_id]. When I run the code, I am then presented with "Run-time error 3061: Too few parameters. Expected 1". The code in question is:
Dim rst As DAO.Recordset
Dim stTo As String 'one of the function's arguments received from the calling function.
Dim stToString As String 'the built up concatenated emails
Set rst = CurrentDb.OpenRecordset(stTo, dbOpenDynaset, dbSeeChanges)
[Code] ....
View 6 Replies
View Related
Apr 22, 2015
I have a query for loan calculation, fields are;
Loanamount
loandate
monthlyinstalment
what i want is that query to start subtracting lmonthlyinstalment from loanamount on monthly basis
View 3 Replies
View Related
Aug 7, 2013
I want to know if it is possible to generate reports in writable PDF format? Also, is it possible to send the report automatically to a list of emails recorded in the Access db using Outlook?
View 1 Replies
View Related
Apr 15, 2013
I have a report that is purely for points gained from products. Each product is split into 3 (e.g. Investment A, B + C) and there is a indicator that means the points gained can be added up (e.g. I for Investment and S for Savings).
I have made the report which is many unbound fields. There is a summary section for all points added together with fields Total Amount, Monthly Target, Quarterly Amount and Quarterly Target.
Then the report is split into each of the 4 products (Each of these have different amounts of points. Number indicates it):
Investments (10), Savings (15), Pensions (15) and Protection of Life Savings (20).
Each of these have 4 fields - Total Amount, Target Amount, Quarterly Amount and Quarterly Target.
I need a way to generate these point scores using the Product_Points field. I already have Quarterly Target and Target Amount because there is a set field called Points_Annual_Target.
EDIT: I also don't want it to come up with the 'insert parameters' so all the info is one page.
View 1 Replies
View Related
Oct 16, 2013
I am seeking to generate a common Header for each page in a report. Is this possible?
View 2 Replies
View Related
May 8, 2013
Basically what I would like to do is create a Combo Box with each month of the year available to select. When I click on a specific month, I want it to pop open a Report based on my table that is filtered by the month I selected. I have a Date column already created in my base table to be my filtering device.
I've already learned how to use query's and reports a bit. I have a Command Button on my form that launches a report based on a query that only shows data for the current year. Likewise, I created one that only shows data for things with a specific item code using a [Which Item Code?] criteria in my query. So in theory, I could do this by creating 12 different buttons, 12 different query's, and 12 different reports. That seems like overkill though and it would seem there has to be an easier way to do that simply by using a combo box to select the month you want to filter.
View 14 Replies
View Related
Mar 10, 2015
how to create the report monthly,year and weekly using access 2007?
View 3 Replies
View Related
Jun 8, 2005
Every month for my construction company, I receive a pay application that consists of the following:
1) about 100 "Line Items" (each one being a different type of work performed)
2) a Subcontractor associated with each line item (a line item may have only 1 Sub, but a Sub may be listed multiple times for different line items)
3) Amount of work performed (in $$) on that line item by that particular Sub during that pay period.
My boss wants a db to track all of this info. She thinks the best way would to create a new table for each Pay Application, every month. Basically, we would be starting from scratch every month with a blank table. But, I think it would work better if the months were linked to each other in some way.
I could have a field called "Pay_App" and enter 1 or 2, etc. on every row for every line item every month. But, then each month, I would be entering a 1 (or whatever the month is) for every single line item and that seems stupid. I want to be able to pull up the entire pay schedule for a particular Sub (all of his payments throughout the entire job). Is there a way to link the different pay application tables once the data has been entered? Or is there an easier way to do this? I would appreciate any help that can be provided. Thanks.
View 5 Replies
View Related