I have a cross_tab query, that users print on a monthly basis.
The user selects whether they want to include data for one or all of three products. So the query could show data for example for Salmon only.
I need to be able to show on the printed query, what products it is displaying for. At the moment the query is called "TotalxProccessor_Product". Once the query is printed there is no way to tell if it is for Mussels, Salmon, Oysters or all three products.
Is there an easy way to manipulate the title the query prints our with?
Or do I have to go through a report to have control?
I would like to display the value of my parameter query into the title of the report.How could I do this on Access 2007?So far I have made another field in the query and called it ParaDate: [JobDate]
Dear all, im trying to display a message to the user if a particular report has already been printed.
I have an unbound form with 2 (unbound) combo boxes one named “shift name” the other “shift date” and a button that prints a report (runs a print macro) based on what the user selects in these 2 combo boxes. I have a table (named “Table_shiftdates”) which stores all the shift names & shift dates + I have created a new Yes/no field named “printed?”.
(I’ve attached a pic, which may help explain what I currently have)
I believe I need to somehow set the yes/no field in this table too yes (or true) when a particular shift name and shift date has been printed.
Then do a check when the user clicks on the print button in this form to see if the yes/no field is set to true for the shift + date they select in the form, if it is true display a message such as: “Warning this report has already been printed”
Other than that I’m stumped and not what I need to do from here, anyone please help me out?
:confused: Hi, I have a form that loads from a menu option. The form has two subforms. All the specs are divided in groups within the forms and subforms. The forms depend on 3 queries that have all the tables correctly gathered. So, every title has a little print button next to it if the user wants to only print that group; if he or she wants to print the entire form, there is a button for that at the end of the form. I am currently having problems with the groups printing. Given that they mostly depend on a separate table and not the general one, every time I click any of the little buttons, I end up printing all the records in that table. I would like to be able to print only the info seen at the moment on the form.:(
Here is the code of one of the groups:
Private Sub Print_OperatingMechanism_Click() On Error GoTo Err_Print_OperatingMechanism_Click
I print a certificate for each person attending my class by sending the form (StudentForm) to a report . To save time I print and sign certificates for all preregistered students then during class I enter all students that enroll the day of class. What I would like to do is flag each preprinted record so when I select the print button after all students are entered into the database all certificates except the preprinted records will be printed. Any ideas on how to flag a printed record?
I am a beginner using Access 2007. The custom written program that I am using has a minor glitch. The report has a subform inside the main report. In this subform is a form header, detail, form footer. The information that is entered into the main report that transfers to the form header, detail, and form footer works and that data is saved with no problems. When I go to create a pdf file from this report all the data transfers to the printed pdf except the information in the form footer. I have looked at the property pages and compared all the properties and they are all identical.
Below is a screen shot of the report in the design view. The areas circled in red are the data that is missing from the pdf when printed. The area in green prints correctly as well as the main body of the report. We insert comments in the comment section and also type initials in the signature section but this do not show up when printed in the pdf. The database saves the information that is input but does not print it. Not everything in the company has access to the database so this is the reasoning for generating a pdf so that it is placed on the company drive for everyone to see.
I have a form that takes info from another form and then adds some from it's own data and then it proceeds to print a bunch of reports based on what tests were done etc. When I just print them (With preview) I have a function in the first report that prints (in its Close event) to close the form. No problem. I have a new slick little pdf thing that automatically names the files and puts them in the right spot etc. With this, after the first report is printed it closes thereby closing the form which needs to be open for the rest of the reports to open. Just put the close event on the last report that prints you say? I don't always know which report will be that last, it depends on the tests.
How can I check to see when all the reports have been printed and then close the form. Is there some way to have the form close itself after a certain time? Am I going to have to make the users close the form themselves? Let me know if this is confusing. Upon reading over this it does sound a bit confusing. Thank you for your help and patience.
How do I make the blank line disappear after the control is no longer visible? I tried to set the Height property to 0 in the OnPrint Event but I got an error message 2191, you can’t set height property after printing has started.
Greetings, I will try to explain briefly my problem.
My database is for our job card analysis. The problem being sometimes a job card invoiced for the previous month is only entered in the DB after reports have been generated/printed.
My thought was that if I could put a true/false check box in the record table to somehow mark it as true after printing month end reports. Hence late entries will reflect in the following months reports.
Is there a way of marking all the records as "reported" (True) after printing the report?
Maybe I am thinking along the wrong lines. Any suggestions?
I need to save a new record from a form before it gets printed, the vba code behind the print button at the minute just opens the report and inserts the record in it. I need to put something in before that to save the record when the button is clicked.
The form in question is frmPlaceOrderFinal and I'm referring to the print button (command17). I've attached my system as well as an image for reference. The code that is currently behind the button:
Code: Private Sub Command17_Click() Dim strDocName As String Dim strWhere As String strDocName = "rptFinalInvoice" strWhere = "[InvoiceID]=" & Me!InvoiceID DoCmd.OpenReport strDocName, acPreview, , strWhere End Sub
I need to save the record before it is opened in the report.
Maybe a strange question but what is the best way to display access forms in a PowerPoint presentation or in printed material. If i do a print screen and then tidy it up the resolution is not great. Any ideas
I'm tracking some charges and want to report them based on month/year and an Early/Late (yes/no) flag within the query I created. When I wrote the report I grouped on mon/year then on Early/Late, then calculate averages. I then want to calculate the difference in the charges between the Early & Late rows. Here....
Now I want to subtract the 27 from the 116. I figured out I could assign the 27 to a field in the header and the 116 in the footer, that's the only way I could make them "stick". I then calculate the difference and things are great. Until I try to print it. When I print the difference is 0 because the group header & footer fields are both populated with the 27.
I have a form with a Yes/No checkbox. Sometimes a data entry person will use this, sometimes an associated report is printed and a technician in the field will be required to fill check the box by hand and return the report for data entry. what I have tried to format the check box, if the box isn't already checked, I can't get it to show up clearly on the printed report. It's set to Visible, width 6pt, solid, black, always display, yet it still is barely visible. Ive tried increasing the grid line thicknesses, making it shadowed, nothing seems to work. Is there anything I can do?
I am attempting to create a printed label with a concatenated field. I want the field to abbreviate several shapes and colors but i will just start with the shape.
=IIf([Shape]="round","RD","TH")
This is what my basic statement says. I am attempting to nest other options inside of this.
I am using an MS Access 2010 table as a data source for a mail merge. I would like to update a field in the table with the date that the letter is printed. Is there a way to do this?
I will try to explain what I have, but for a little more information please see the thread where I was trying to get a single instance of this query to run: http://www.access-programmers.co.uk/forums/showthread.php?t=146582
This above thread was to allow users to select a valid month from a "quota" table of data to compile work data for that particular month. The way this all works is I delete a history table, append the data from my work table, and then add the data from a quota table. Each time a user runs this report, those three queries run dependant on the month selected. At the bottom of this report I sum up the columns to give an overall total for production numbers. The table is set up as: For MMM YY (selected) Item........Repaired......Quota widget1........1...............3 widget2........2...............0 widget3........6...............4 widget4........2...............2
Now what I need to be able to do is to retrieve all these totals at once; so that the numbers can be graphed by month. This history table that is built is not perminantly stored; since all the 'data' for it is contained throughout a couple other tables. I didn't see a reason to need to store 'all' that data again since it could be retrieved as needed.
Is it possible to write a query that will run this process for all distinct dates in the quota table and sum the data for repairs and quotas? Something like this:
I have a rental database and I print several contacts for leases etc. what I want to do is have a unique reference number or something inserted to the report every time that it's printed. What I am trying to achieve is to keep track of which tenant corresponds to the report (Lease) printed by using reference number.
There is a seperate form which holds the tenants details and I would like to have a field on that form which would show the same reference number as the report so I can track which report was printed for who.
I have a report which shows the results of two separate queries in a simple table view.
One set of data varies in size depending on the amount of records and the other is a fixed size and never changes.
I'm wanting to make my report always show the fixed size data in the bottom right corner of the page when its printed.
I've tried putting it in the footer section of the report but don't want it to affect the size of the details section and just show next to the other query results.
Is this possible and if so how would I achieve this?
I want to put a value from a field in a table in the Title Bar.
So far i have done (Looking at 2 ways to create, 1 with module below or directly in the form, only just lloking at the module way so is not finished as i am waiting to get it to work directly first):
Module Option Compare Database
Function ChangeTitle() Dim dbs As DAO.Database Dim prp As DAO.Property Const conPropNotFoundError = 3270
On Error GoTo ErrorHandler ' Return Database variable pointing to current database. Set dbs = CurrentDb ' Change title bar. dbs.Properties!AppTitle = "DYSMS " & (SoftwareVersion.tblSoftwareInformation) ' Update title bar on screen. Application.RefreshTitleBar Exit Function
ErrorHandler: If Err.Number = conPropNotFoundError Then Set prp = dbs.CreateProperty("AppTitle", dbText, _ SoftwareVersion.tblSoftwareInformation) dbs.Properties.Append prp Else MsgBox "Error: " & Err.Number & vbCrLf & Err.Description End If Resume Next End Function
Directly
Does not work Dim stAppTitle As String stAppTitle = "DYSMS " & (SoftwareVersion.tblSoftwareInformation) Me.Caption = stAppTitle
Does work Dim stAppTitle As String stAppTitle = "DYSMS " & (Now()) Me.Caption = stAppTitle
So need to declare the SoftwareVersion field i guess??
In my form I have the title of a CD which is under the name of 'CD_Title' which is taken from my CD's table and I was wondering how to show it up in a Label so when I flick through the albums the Label changes to the album that it is selected!