Displaying Only One Field In Report - But Unique Situation
Feb 12, 2007
Hi. Back again with a badly designed number of tables that I inherited.
Anyway...
I have 20 tables each with an ID field and a dozen-or-so text fields. - (I planned on using a master report with sub-reports, but perhaps I am ahead of myself here.)
I need the user to enter the ID and a value which would only appear in one of the dozen+ fields for that record, in that table.
I set up queries with parameters for the ID and the desired text value.
However, when run, I get the correct client record, but also all of the fields for that record... Not only the field with the desired value.
Is there a 'simple' way to do this knowing ho wmany possible fields froma ll of the tavbles would have to be searched? And not all tables have the same field names!
Russ
View Replies
ADVERTISEMENT
Jul 19, 2014
I have a report which is based on a query. The query combines information from TBLDwgReg and TBLDwgRegDtls. The unique field linking these two tables is DrawingNo. The query - QRYDtldDwgReg - is showing 99% of the information I want to see.
My problem is this - one drawing can be revised several times. I have my report grouped by IssuedBy and then grouped by DrawingNo. In the group footer for IssuedBy I want to count the number of drawings issued by a particular consultant. For example...the structural engineer has issued 17 drawings for a particular project but when I do a count it is returning a total 27 because some of those drawings have been revised.
I tried grouping in the query and counting the DrawingNo field there but that's not working either.
View 14 Replies
View Related
Feb 3, 2006
Hi,
I have a field in a form which displays the Sum of 10 values from other textboxes. I want to display the values of that calaculated field in a report and somehow I am stuck. I am running the report based on a query.
How would I get those field calculation values to display in a report?
Thanks
dfuas
View 2 Replies
View Related
Feb 1, 2006
I have a report based on a query. There is a field "comments" that is a memo type however on the report it does not display all of the text. I have the property "Can Grow" set to "yes" however it still only shows partial text. Any ideas? thanks in advance!
View 6 Replies
View Related
Jul 8, 2015
On this form, there is a text box for Quantity...At the end of the form, there will be a button that when pressed:The current record the data on the form is entered for is saved,A report is printed on a specific printer,I do not want the report to actual display,The number of copies it prints should be equal to what the quantity field indicates.I do have the report already created and the Quantity field is on the report (just not visible).Once this all happens, it should return the user to the form, that is blank, waiting for a new record entry.
View 1 Replies
View Related
Nov 26, 2005
I am creating a database that tracks reports that are generated from people in the field...The statistics are tracked on a 28 day cycle, beginning on a Monday and ending on a Sunday. Every week the 28 day period loses the first week and gains a week on the end. I need to develop a way to generate the queries for the reports based on a clock that automatically "calculates" the current 28-day period.
View 2 Replies
View Related
Jul 22, 2005
Hello all,
I am trying to make a simple inventory control system. This system will only record input of products and output of products. Explanation: This is a catering service company. I buy tomatoes, rice, oinions, Oils, meat, ect. When we buy this products they usaly come in different packages. The rice can come in 100 pound bag, 50 pound bag or just by the pound. The onions can be bought by the bucket, half bucket, dozen, half dozen ect. The oil can be bought by 100 gallon barril, half barril, Gallon, half gallon, pint ect. The meat by the pound.
I am able to make the a simple invoice and PO application, the only problem is that I want to be able to select what type of packaging the product has and the invoice or PO subforms.
I started with a simple product table, I than created a packaging table and a package detail table. This gave me the chance to create a subform on the product form where I can choose what type of packaging this product uses and also tell it how many units the package has.
So far so good. Now I created a Chef table "this is my Chef to whom I give the product to for cooking" I than created an authorization slip table "this is like an invoice table" and ofcourse a authorization detail table "this is where I pick the products that I give the cook" once I print this out the chef will be able to go to the warehouse and retreive the product.
What I want to do in the detail subform is to be able to pick the product and the type of packaging that I am giving them from a dropdown box then it will automaticaly show only the packaging I assinged to that product and give me the units . This way if I pick the type of packaginh name 100 pound it will put 100 units in the quantity field automaticaly.
So basicaly is an invoice form with its detail but on the detail I am able to pick the product and the packaging that I am giving the chef.
Can you guys guide me on the right direction on how to do thsi?
Thansk
DaniBoy
View 1 Replies
View Related
Apr 24, 2014
I have a large query that has information from accounts sorted by date, account repeat but they are always associated with a different date. I'd like to create a report where each date has it's own column with an associated field displayed as the information in the column. However, as data is added to the table I'd prefer to do it without having to make a query to filter each date each time information is added.
The information is added in bulk with all the same dates, so ALL accounts (excluding newly opened accounts that may have no information with a certain date) should have information for each date - there will not be single accounts with their own date. For example: An account numbered 12345 with data of 57% on 1/2/13, 63% on 6/2/13, and 89% on 12/2/13. I'd like each of the dates to have their own column, with the account numbers as the row and the percent data to show under the date they are associated with. how to manage this in a report, or if it is possible.
View 1 Replies
View Related
Feb 7, 2007
Hi. - Please do not lecture me: I inherited this database and it's table designs.
I have multiple tables, each containing a SSN text field and multiple other text fields. There is some overlap in SSNs among tables.
I need to create a report with a subform for each table.
The user would ideally be asked for and enter a specific SSN and a specific string. The result would be the report showing the SSN and each table's field that contains the string.
ie, parameters would be: Specify SSN and for the string would be: Enter TEXT VAUE.
SSNs are simple enough, but the text string entered would need to be, for example: LIKE "2400*"
How do I do this easily so that each text field in each table is searched for that string, without having the user re-enter and re-enter and re-enter... it multiple times?
(I do not know very much VBA, so other ideas?)
Russ
View 3 Replies
View Related
Jan 2, 2008
A friend of mine who is in real estate is looking to learn about Excel. My knowledge is very limited. I can Conditional Format, IF, VLOOKUP etc but I have no idea what can be done with different Sheets in a file.
For example, in one set of data he has it is details on properties for rent. Sheet1, Sheet2 and Sheet3 are for 1, 2 or 3bedroom properties. I assume if a 4 bedroom property is for rent then Sheet4 would be done.
With Excel how easy (or hard) would it be to link data between the sheets. For example, show the properties where the lease is about to end (or whatever) and whereby properties that met the search criteria would comprise 1, 2 and 3 bedroom units and hence be in all 3 sheets.
If what is in 3 sheets was placed in one sheet can Excel do much with that or are you stuck with data that is spread over what appears to be several acres:D
If you can do this in Excel would you need to learn a lot about Excel. To put it another way, this is very easy for anyone here to do what he wants in Access. However, for someone starting from scratch would Excel allow him to get up to speed and functioning easier and quicker than Access
Thanks for any advice
View 14 Replies
View Related
Dec 26, 2006
In order to find the most recent piece of data for a particular customer I need to query my table in 3 iterations.
I have a TABLE with data in it pertaining to all customers.
QUERY 1 orders all the records in TABLE by date.
QUERY 2 plucks all records related to specified customer from QUERY 1.
QUERY 3 selects the TOP 1 from QUERY 2.
My main concern is that this all happens automatically. Can I shorten this process at all?
View 4 Replies
View Related
Apr 10, 2008
I have supplier records where the supplier name in each record is different. It may be Supplier ABC, AB,C, ABC!, ABC Inc., or several other variations. In addition each of these suppliers has their own supplier ID. The supplier ID can be one of 5 different versions since the data is from 5 different ERP systems. I am trying to create one table that does not have the supplier listed many times, but has one correct name and one ID that will be able to link back to the original file with all the different names and IDs. I hope this is a good explananation. Any advise?
View 2 Replies
View Related
Oct 27, 2014
I have a report. behind that report is a query.
The query returns the parts used for each job. This could be 1 to many, so I get 1 to many rows returned in the query for each job. There can be a number of jobs to a work schedule (I'll call this WS). Each job is for a particular model. So I bascially have
WS1 JOB1 MODELx PART1
WS1 JOB1 MODELx PART2
WS1 JOB1 MODELx PART3
WS1 JOB1 MODELx PART4
WS1 JOB2 MODELw PART7
WS1 JOB2 MODELw PARt8
WS1 JOB3 MODELx PART5
WS1 JOB3 MODELx PART6
I want to count the number of jobs each model appears in ie MODELx appears in 2 jobs, MODELw appears in 1 job.
I've read DCOUNT can eliminate duplicates but I can't see how to use it to do so.
I have (general gist)
DCOUNT("model number"."query","model number" = [model num])
View 3 Replies
View Related
Feb 13, 2014
I want to tweak an existing form that currently allows me to generate a report based on a name and date selected.
The issue now is that there are some records that have the same date and I want to be able to generate a report on them seperately.
i.e. Jane has 2 records for December 5 with unique ID's
Right now when I generate the report it goes by the date and so I have both records.
To open the report I have this right now:
DoCmd.OpenReport "SelectPSReport", acViewPreview, , "[PS_Agent]='" & Me.CboAgt & "' And [PS_dDate]=#" & Me.Cbodt.Column(1) & "#"
How do I now get the report to generate off the ID and not the date?
No sure if it matters, but my form is populated by choosing a name in a combo box then the date in another combo box. Its the date combo that finds the record for the form.
View 3 Replies
View Related
Jun 3, 2005
Dear All:
How do I go about displaying the current month and year in a report? I reckon this would be in a textbox.
Any help is greatly appreciated.
Regards,
Dion
View 2 Replies
View Related
Jun 7, 2005
I have a form with 2 buttons on it, I'll call them button 1 and button 2. When I click on button 1 it calls a class that will go through and calculate some totals and then write them back to a table, all access to the table is managed through ADO. Then I can go over to button 2 and pull up a report displaying the totals. Although when I click on button 2 the report will be about half empty, only displaying 0's in most cases. If I close the report and open it again using button 2 all the data will be populated. What is going on here???
Thank you for any help
View 9 Replies
View Related
Feb 23, 2006
Don't Kill me folks... I know this has been asked and answered, but I'm not able to get it to work. I'm using Access 2000.
I have an image in the Report called ImageFrame and the following code:
Code:Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) On Error Resume Next Me.ImageFrame.Picture = Me.PhotoEnd Sub
What am I doing wrong? Is there something else to set? I don't get an error, but it only shows the image I chose to place the image control in the first place...
View 2 Replies
View Related
Feb 11, 2008
In the report I am trying to generate I want every possible option for a specific field to show. I have it set up now as accessing its options from a table but can change it to a value list if that will be easier. I have listed a sample of what I want and what I am getting to explain what I mean by this. If anyone can help me go from one type to the other I would appreciate the help!
** I put dashes between the columns since this forum doesn't exactly show things in a column.
What I want
Locality-Count1-Count2-Count3-Count4-Sum
1-0-0-2-0-$23.34
2-3-2-8-1-$845.36
3-0-0-0-0-$0.00
4-4-2-0-0-$40.12
5-0-0-0-0-$0.00
6-0-0-0-0-$0.00
What I get
Locality-Count1-Count2-Count3-Count4-Sum
1-0-0-2-0-$23.34
2-3-2-8-1-$845.36
4-4-2-0-0-$40.12
View 14 Replies
View Related
Jul 17, 2014
I am using Access 2007..I have created a main form and have inserted a subform. When I open the main form, the subform displays correctly. However, when I go to create a Report from the main form, the subform information is not displaying.
View 3 Replies
View Related
Jan 17, 2007
Hi i'm after some time saving advice
i'm writing an Access database to quote for windows & doors,
there are many variants like style, width, height, glass types, security specifications and about 4 other options.
what would be the best way of working out how to add the extras for each option,
The price would be based on the style first, then depending on width and height, then on what options were ticked . i.e securtity spec yes/no, then on what glass type, the price gfor that would be based on the entered width x height etc.
is it possible to do a look up, like you can in Excel where it looks at at grid/matrix based on style number and width x height to get the price, but then how would i get it to add the other options which will depend on size and number of openings.
any help greatfully received.....
View 1 Replies
View Related
Apr 25, 2006
I run a Query based on some data in a "drop-down" box. It works in just datasheet view, but when I print it on a report, it displays the position that the data is in the drop-down box.
How do I display the data, not the position on the report? Here's an example:
My drop down box contains:
apples
oranges
bananas
My query returns apples, but in the report view it displays the number "1" instead of my data "apples". If the query returned oranges, the report would display "2" instead of "oranges" and so on.
Any ideas?
Jen
View 5 Replies
View Related
Nov 23, 2005
I have a form in which I want to retrieve images from a folder. Each record contains a txt field where the path of the image is located. Not every record contains a path to the image file as some records does not have images. I have created an image field in my form and used the following code: Me.Image129.Picture = Me.imagetxt to retrieve the image. I would like to display an image containing the words "No Image" whenever the imagetxt field is blank. How would I do this. I cannot go back and fill in the blank imagetxt field with a path as I am pulling the data from an external source. Also, would this be the same method if I am creating an image field for a report? Any help would be greatly appreciated.
View 2 Replies
View Related
Mar 2, 2014
I have a report, which opens a dynamic search form (built off of John Big Booty's code from this site). The form opens, and works as expected.During the dynamic search form testing, I created an 'OK' button that opens another form to display the record, but the dynamic search was opened first.
I would like to reprogram the button to display the selected record in the report which opened it.How can I get the selected record to display in the already open report?
View 7 Replies
View Related
Jun 29, 2006
I'm trying to sort a combo box alphabetically except for one value which is always at the top of the list.
The row source of the combo box is a query. record to remain at the top of the list is static- same value and ID number always. I've fiddled around with a few things, but at the end of the day, i'm just not smart enough! (or its not possible -which i doubt)..
any suggestions?
cheers.
View 2 Replies
View Related
Oct 27, 2007
Hi all, help with this would be appreciated.
I have a crosstab query which returns values in a range of categories. I have 5 categories. My problem is that sometimes a category may not return a value in 1 or more of the categories. This means that when I am displaying this data in my report I haven't got the data in the correct columns.
In the underlying queries for this I tried using a LEFT JOIN forcing the category, but when I executed the crosstab I got errors in all fields.
Thanks in advance
Ginny
View 2 Replies
View Related
May 17, 2013
I have a report that generates the position of certain items. When I produce this report it doesn't put the data in order. All associated data with that position is correct, it is just not in numerical order. The attached screenshot shows the issue I am having. In the position column it should read 1,2,3,4 but in some cases the positions are not in order.
View 2 Replies
View Related