Reports :: Exporting Data From Clicked Field On One Report To Another

Feb 23, 2015

I have become stuck with an issue which I am sure is entirely my fault. I am trying to create/modify a macro for a field ([cx_ref]) on a report (Upholstery_orders), so that when a particular record is clicked, it uses the data in that specific record and field to open another report (works_orders), based on said data.

So far the only headway I could make was to create a macro that opened an intermediate form with a combo box displaying every record in [cx_ref]. I'm not a huge fan of this method as any user would have to either memorise then type, or scroll down thousands of records in order to locate the correct one, select it and then click a button to open the "works_order" report.

A macro (or code) that could take one from the original report, using the data in the 'clicked' box/field on the form, and open the second report without having the input the data again. Short of being able to do this, any way to simply export the selected field so that it appears on the intermediate form (without the need to select or type it again), be that in the combo box or in a box of its own.

View Replies


ADVERTISEMENT

Reports :: Access 2007 - Report Not Rendering Until Fields Are Clicked

Jul 24, 2014

Upon opening a report (it does this randomly), the report opens and it is completelty blank - no lines, lables, or fields - nothing. However, when I click on an area, the group I clicked on will render and display perfectly. So when this happens, I either have to click every where on the page or scrolling up and down (if the report is long enough) will render the whole report. It doesn't do this everytime; about 25% of the time though.

As you can imagine, when other people use the database and this happens, they freak and just think access is broken. What is causing this or what can be done to prevent this from happening?

I'm using access 2007.

View 9 Replies View Related

Queries :: Query To Select All Data Regarding A Clicked Field

Mar 1, 2015

I have three tables. TableA contains certain order information, such as the username of the employee, type of order, alias number, etc. TableB contains phone numbers, username of the employee, etc. TableC contains supervisor names and alias numbers.I didn't make these tables but that's what I'm working with. I connected TableA to TableB with the username of the employee, and then TableA to TableC using the alias numbers.

I have a report that summarizes how many orders of each type there are. It shows the supervisor, employee username, alias numbers and then each type of order with the amount of orders of each type under the headers.My boss wants to be able to click on the amount of that type of order and have it show him the details for those orders. This is where my problem is.

I was able to use an Inner Join type of query that allows me to filter the data by order type (however, I have to make a new query for each order type since I'm not too experienced on this). The problem is that I cannot find a way to have a query filter the data by order type AND employee username, so that it only displays the orders taken by a certain employee and it only contains one order type at a time, depending on which order type you clicked.

View 14 Replies View Related

Reports :: Report To Show Data Details Selectively For Each Field / Qualitative Data

Apr 16, 2014

I have data from a survey with qualitative responses. For a single qualitative question, I moved the ID & responses into a new table and categorized the response according to a bucket/theme, where each column is a new bucket. I now have 10 columns. Each response is represented in 1 or more columns. I used an excel formula to copy the response data into the column itself.

Example:

A1 // B1// C1 // D1// E1//... L1
ID // Response // Cats // Dogs // Elephants //.... Column 10
1 // I like cats // I like cats //(null)//(null)// ... (null)//
2 // I like cats and dogs // I like cats and dogs // I like cats and dogs //(null)//..//
3 // etc.

However, now I'm realizing that Access always wants to show data for all records, or at most I can limit using a WHERE clause in my query.I want to use Access to generate this report:

1. Section 1: Show all responses from the Cats bucket where there is data
2. Section 2: Show all responses from the Dogs bucket where there is data
3. and so on

I know how to do summary values, and I know how to do filtering that apply across the whole report, but this seems like more advanced filtering, where I want to see selective details differently for each field.

View 3 Replies View Related

Reports :: Exporting Report As Individual PDFs?

Aug 31, 2014

I have a report that has a group sort and page break after each area. What I'd like to do is export each area as it's own individual PDF report (preferably as an automated process).

View 3 Replies View Related

Reports :: Exporting Report To PDF Blank Fields On Some Computers Only

Apr 24, 2013

I have a report (Access 2007) with subreports that is being exported to pdf. It all works fine on PC except for on a virtualbox and a laptop. When the user exports the report to pdf, it leaves some subreports blank! If the report is opened in the DB it pulls data as it should and all looks fine.

In the report, the missing data is from 4 subreports in the same top section of the report where a 5th subreport also resides. Subreport 5 is displayed OK. There is no dynamic formatting nor filtering in the reports.

These two machines had to have the 2007 Microsoft Office Add-in: Microsoft Save as PDF installed for the PDF export to work at all. Both machines are up-to-date on the latest windows updates. The virtual box runs XP while the laptop runs Windows 7.

This is the strangest error I have ever encountered as it only partially fails and it cannot be replicated on a regular PC.

View 4 Replies View Related

Reports :: Blank Data Field In Report

Mar 18, 2013

I am creating a report that contains name andd birthdate on one line. I need to have up to seven lines in the report for some groups, but do not want to leave blank lines where no names exist. I am working in 2010 and have read about canshrink in 2007, is this approach availabel in 2010 and for date as well as text?

View 1 Replies View Related

Reports :: Suppress Data In A Field On A Report

Mar 4, 2013

I've got a report that is displaying addresses which are all identified as 'public' or 'private'. I want to be able to display the 'public addresses' and leave the 'private' addresses blank (but still show other fields.. phone no.s etc). The field that the data appears in is Address 1 (for both public or private), depending on what the data entry clerk has selected as the preferred address (ie public or private).I've been playing with the Iif function, but have not had any success...

Address Type: Private or Public
Address1: Address details

View 5 Replies View Related

Reports :: Exporting Filtered Report After Users Verifies Content

Sep 18, 2013

I have a report that is opened via a Form that lets the user choose a date to filter the report. The report opens in Print Preview mode.

What I'm attempting is to give the user an easy way to export the report once they've verified the report is accurate.

One way I've tried to do this was to use the OnClose event to execute a vbYesNo MsgBox giving them the option to export. The problem here is that I can't do the export while the report is closing.

Code:
Run-time Error '2585': This action can't be carried out while processing a form or report event.

I tried to move my MsgBox to the OnUnload so that could cancel the Unload, but was met with the same results.

Code:
Private Sub Report_Unload(Cancel As Integer)
Dim Response
Response = msgbox("Do you want to save a copy of this log?", vbYesNo, "Export to PDF")
If Response = vbYes Then
Cancel = True
DoCmd.OutputTo acOutputReport, "rptWatchLog", acFormatPDF
End If
End Sub

Some research indicates perhaps the DoCmd.OutputTo is happening to quickly. Would including some type of pause in the code execution between the Cancel = True and the DoCmd solve my problem? Though frankly, even if it did it doesn't feel very elegant. I also recognize that I'd need to reinitiate the Unload>Deactivate>Close process after the export completed.

I initially began by having an Export Command Button on the form they use the choose a date, but was unable to have the exported report honor the user supplied filter from that form.

Here is the code from that form that is applying the filter:

'Open Watch Log Report with chosen date as filter
Private Sub cmdOpen_Click()
'use date even though it's not saved anywhere
If Me.Dirty Then
Me.Dirty = False

[Code] .....

View 8 Replies View Related

Reports :: Data Range Asked Twice For A Field When Open Report

Mar 26, 2014

I am in the process of making some changes to an inherited database. One of the things I need to do is to fix an issue with the reports. The reports have a field which asks for the data range (from xx/xx/xx to xx/xx/xx) as soon as the report is opened, but then the query that fills that report also asks for the same data range so you end up entering it twice.

What do I need to do to enter the data range only once and have it show up on the report and also be used on the query?

View 3 Replies View Related

Reports :: MS Access 2010 Report - Exporting To Excel Produces Blank Xls File?

Jun 27, 2014

My report (rptBilling_STS_Summary) has three subreports (rptBilling_STS_Summary_Install, rptBilling_STS_Summary_Rental, rptBilling_STS_Summary_LDRate) that return values that are grouped by customer and calculates a total for each customer.

I need the report to export to excel for our client but every attempt has produced a blank XLS file. I have tried every export method I can think of. This is what I have tried:

Export button from external data ribbon
Export from print preview
Export via macro
Export via VBA (DoCmd.OutputTo acOutputReport, "rptBilling_STS_Summary", acFormatXLS, , False, , , acExportQualityPrint)

All this has produced the same blank excel file... Very frustrating...

I have searched and found a lot of information on 2007 and it requiring sp2 but all I can find on 2010 is instructional information.

Update: I copied the database to my local PC and when I export the XLS file it opens in protected view.

View 5 Replies View Related

Reports :: Exporting Data To Word Template

Apr 7, 2014

I have a Word template that I require my data to be exported to. Is there a way to import a .docx into a report design?

View 1 Replies View Related

Reports :: Yes / No Field Not Exporting To Excel

Dec 19, 2013

When exporting a report to Excel my Yes/No fields do not export. The Label nor the field itself exports. I am using the Table to create the report, not a query and sorting data within the report.

View 2 Replies View Related

Customize Date Report When Exporting Data To Excel Format

Aug 18, 2015

I have a form that shows the data.All the date format display this kind of format " 12/17/1974".But when I export it to excel format.The date is displayed as "17-Dec-74".However, when i double click on the cell ,it will show "12/17/1974"...I want the date to displayed in excel -> "17-Dec-1974" or "dd-mmm-yyyy" how can i change the date format when manually formatting the date in excel .

View 1 Replies View Related

Exporting Access 2003 Report To Excel Truncates Memmo Field

Jan 10, 2005

When I export a report to Excel, a memmo field is truncated to 256 characters. If I export the query behind the report, the memmo field is exported correctly. Is there a way to export an Access 2003 report to Excel and maintain all of the data and report formating in memmo fields?

View 1 Replies View Related

Forms :: Combo Box To Show Report Of Selected Name When Clicked

Jun 7, 2013

Any way, I have created a table "accountstbl" to which i have AccountsID, Accountnumber, Accountname, Accountaddress, Accountcontact fields.

My question is i created a form with a combo box linking it to the accountstbl and Accountname field. When i click on the combo box it lists all my Accountnames from the accountstbl which i want but i want to click on an account name and once selected it will show a report of the selected name.

Reading through lengthy pages there is reference to event procedures but this is code which i do not know.

Simples is me select name from combo box and voila you have a report of your selected account name.

View 6 Replies View Related

Reports :: Hide Report Footer Based On Report Data?

Dec 21, 2014

How do I hide the report footer based on the report's data ?

I'm trying to hide if number of users = 1

The report's data is a query built inside the report's RecordSource, not a self standing query.

View 10 Replies View Related

Exporting Data In Excel Where Date Field Is In Ascending Order

Jun 20, 2013

I am trying to export a data in Excel where a date field is in ascending order

But on displaying i am getting in ascending order but the display is somthing like this:

13/05/2013
13/05/2013
05/10/2013
05/10/2013
05/08/2013
05/08/2013
05/07/2013
05/07/2013
05/06/2013
05/03/2013
05/03/2013
05/02/2013
05/02/2013
30/04/2013
30/04/2013

Date order is misplaced...

View 5 Replies View Related

Reports :: Pulling Data Into A Report From Another Report

Mar 20, 2015

So I have a text box in a report that I want to pull in data from a field in another report, so the 'control' for my text box looks something like this...

=[Reports]![rptSalesReceiptSub]![Text141] (i.e Text141 is the data I want to pull into my report)

...the path is completely correct but when I run my report I get.#Name? If I run the report that has the data I want, it's fine (in other words Text141 has valid data in it)

View 4 Replies View Related

Ticking A Check Box Once A Field Has Been Clicked

Jul 27, 2006

Hi,

Please see attached image.

http://img136.imageshack.us/my.php?image=jkkv6.jpg

I have this subform in a form, i want the field that has a hyperlink (which is called Link) to display a check box once the file path has been pressed, so when each path (Link) is pressed i would like the form to display a check box that would tell the person if that pathfile had been pressed. I would like this to show for each of the path files.

Can anybody help please.

Thanks

View 9 Replies View Related

Reports :: Exporting Individual Reports Based On Group To PDF?

Nov 14, 2013

I'm working on a project where I must save roughly 1000 individual access reports based on the group to a specific folder in pdf format.

Problem:The code I found on this site works, but not exactly the way I need it to. Using the current code (pasted below) all of the pages of the report are being saved to pdf for each group, instead of just the single page. For example, all 1000 pages of the report are being saved to each pdf file, when I only want the 1 page for each of the groups.

I believe that the problem lies in the filter for the Open Event code, but I don't know how to modifiy it to make it work the way I need.

CODE:

Option Compare Database
Public strRptFilter As String
Private Sub Report_Click()
Dim rst As DAO.Recordset
Set rst = CurrentDb.OpenRecordset("SELECT DISTINCT [SHIP_TO_CODE] FROM [qryWty&PendingData] ORDER BY

[code]....

View 13 Replies View Related

Reports :: Get Remarks Automatically In Field Based On Other Field In Report

Dec 15, 2013

I made a report that have 'txtRemarks' field, I just want to get remarks automatically in 'txtRemarks' field based on the other field in report. that is why I used a function like below:

Code:
Private Function Estd_Remarks(Estd_Point As Long) As String
If Me.Estd_Point < 20 Or Me.Estd_Point = 0 Then
Estd_Point = "Earlier Established"
Esle
Estd_Point = "OK"
End If
Estd_Remarks = Estd_Point
End Function

And I wrote in properties 'On Format' event this code below:

Code:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
If Estd_Remarks = "Ok" Then
Me.txtRemarks = "Ranked & Sortlisted"
Else
Me.txtRemarks = "Estd_Remarks"
End If
End Sub

When preview the report then it shows
Compile error
Argument optional

View 3 Replies View Related

Modules & VBA :: Auto Populate Of Field After Button Is Clicked

Oct 17, 2013

i've got a data entry form. when i click the button add all the other buttons go grey, i am in mode "New" also i am able to add, edit, records in this state, when i press save i want the supplierID field to automatically populate itself with the next SupplierID record THAT IS EMPTY. So say that my last record was ID number 45 then when i click add on my form and go into "New" state the SupplierID field automatically populates itself with "46" btw this is all an unbound form,

View 7 Replies View Related

Reports :: Having Field In Report Change Based On Another Field

Sep 5, 2013

I have a report that is looking up min and max quality specifications for a product. The table with the specifications has a Yes/No check box field for when the specs are defined as "Internal". So the table looks like Product/MinValue/MaxValue/Internal

I want the report to display "TEST AND RECORD" when the Internal box is checked where the MinValue and MaxValue (that are stored in the table) would be displayed otherwise.

View 3 Replies View Related

Comparing Date Field And Trigger Action When Button Clicked?

Jan 9, 2015

I have a table to store "issues" with fields Issue name(text), target date(date) and status (combo box-active & pending statuses). default status for new issue is active. when clicking a button i want to change the status of every record to "pending" status (combo box value should be pending) if the target date<current date.

View 2 Replies View Related

Forms :: Form That Adds Data To A Table Depending On Which Option Was Clicked In Combo Box?

Sep 30, 2013

i have a standard database with tblProducts, order, employees, customers, suppliers etc. i also have a table called tblperson with personID which acts as a one, with the many in three different tables (customers, suppliers and employee) the person table holds data such as first name last name address city postcode and phone. now, ive created a form called frmPerson that acts as a adding data to my database. ive got a load of buttons a working add, delete and a save button, i also have the option to switch through records next, last, end and first. now basically in this form i want to be able to add data i.e. fill out the text boxes and then have a combo box or something similiar that when i add the data i can basically click an option the says 'employee' 'supplier' or 'customer' and then the data gets added to my person table however the difference is that it will also be associated to the record in the wanted table.

View 14 Replies View Related







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