Displaying Data In A Subform.
May 8, 2006
I have a form that displays a specific set of data depending what you select in a group of list boxes before. See image below:
13516
You select a PIPELINE, a YEAR and then a HAZARD, and this brings up a series of risk assessments depending on what you've selected. The RISK ASSESSMENT is actually a subform thats been set up to look like a list box. (Side Note: The reason I have done this rather than just use a normal list box for the risk assessment is I wanted to have a combo box attached to each record in the list box. Access does not allow you to do that so I had to fudge it). The RISK ASSESSMENT subform is populated by a query. At the bottom of the form is a normal list box displaying the same information thats in the RISK ASSESSMENT - I have done this as a test to ensure that my fudged subform is doing it's job.
From the fist screen capture you can see that the combination of PIPELINE, YEAR and HAZARD produces 3 risk assessments - this is also confirmed in my test list box. Everything is ok so far.
The problem I have is that I can only get my subform to display the data when the PIPELINE selected in the first screen capture is selected. Any other pipeline selection does not display the data in RISK ASSESSMENT. However, I know the data is there as my test list box displays the data. See image below:
13517
Therefore, my question is, why would data be displayed in the subform for some selections but not others, even though the data is there?
Any help would be greatly appreciated,
Best Regards,
Aaron
View Replies
ADVERTISEMENT
Jan 22, 2015
I have a main form which displays data regarding stock takes for a number of locations. The form is bound to a query which is based on a table containing a STOCKTAKE_ID field which is an autonumber field. The STOCKTAKE_ID is present on the main form
I then have a subform which is linked to the mainform via STOCKTAKE_ID.
When I open the form for a particular location the subform displays data, no problem. When I do the same for other locations the form is blank. If I check the table that the subform is based on, there is a record with correct STOCKTAKE_ID but for some reason the form won't display it. There are also no duplicates.
View 2 Replies
View Related
Sep 23, 2005
Hi,
I got a form name "X-Zone Cyber Cafe by ITE College East"
Inside that form, i got a subform called "PCStatus"
In the main form, i got a image called 'pc01'. I wan to do it something like, when i click the image(pc01), the record of 'pc01' from the PCStatus table will be displayed in the subform.
And when i click on image(pc02), the record of 'pc02' will be display in subform
I have attached a image to explain better
Thanks in advance for your help
http://itecollege.com/Help.GIF
View 5 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
Dec 20, 2007
Hi,
This is not a very big issue, but a very annoying one. I'm making a weekly display of tasks preformed (One subform for each day). The functionality is almost like a timesheet. You register the hours worked on spesific tasks/projects.
The problem I got now is that the textbox containing the date (In the subform) is not displayed when there is no records in the subform. The date is set by the motherform - Me.Form!frmday1.Form.VarDate = Me.day1
View 7 Replies
View Related
Sep 14, 2005
Hi,
This is a Query / Forms question...
I have 2 tables setup with a 1 to many relationship, simialr to 1 Customer having 1 or more orders. I created a query to prompt for all orders for a particular customer. I then created a form based on this query - i.e. linked the query to a form.
Now when I open the form I am prompted for the customer id and when I enter this all of the results of the query are displayed in 1 form. However, this is not what I want. I would like the orders for the customer to be displayed within a subform on the actual form. In this way the customer details will static and I can cycle through the customer orders in the subform separately.
Is there any way I can setup my query to display the results in this way? I need the prompt for the customer ID. Or is there any way I can setup the form to display the results in the above way?
Any help would be greatly appreciated.
Thanks
View 2 Replies
View Related
Jan 27, 2005
I have a subform, which contains only one text box, which works normally, until I set the startup options to hide the menu bars, database window etc...
Can anyone think of any reason why this should be!?
View 1 Replies
View Related
Apr 13, 2015
I have 3 tables:
tblAnagrafica
TabellaPIP
TabellaJoinPIP
By wizard I have build a form that collect data from a query: "QueryPIP2Tabelle"
The main Form :" frmtblAnagraficatest"
display correct data from tblAnagrafica,
BUT the subform: "frmTabellaPIP Sottomascheratest" does not display data from TabellaPIP.
Relations are many -to-many but, because it's my first building database, can be incorrect.
Database1.accdb
View 2 Replies
View Related
Jun 8, 2012
I have a subform that users enter in Dates of the month and how many people attending specific functions. I dont want the users to have enter in all the Dates for each month I just want them to enter in the number of people attended. How can I do that on my subform called TrainingTanfTrainig. the Table is called Training_tbl thats a child table of the SpecialEvents_tbl.
View 1 Replies
View Related
Feb 23, 2006
Hi, I'm just wondering if it's possible to display the result of a query on a subform which does not have a relationship with any other table.
What I'm doing is creating a search form where a query is built from the users input (through combo boxes and text boxes) of what table, attribute and condition they want to search from. When they press the search button, I want the result to be displayed in a datasheet below the selection criteria
The first thing I thought of using to display information with was a subform, but I think the purpose of having the subform is so that it can be linked with a form. So, is there another control or way of displaying results. The results can come from any table.
Thanks.
sugoi_kat
View 1 Replies
View Related
May 9, 2013
So i have a combo box that has a criteria set for the query. I have a search button that runs the query that users click.
What i need to happened is i want the results displayed in the sub form the when query is ran.
View 7 Replies
View Related
Feb 23, 2005
Hello. The problem I am having is related to two tables. I have a table called Void and a table called Panel. A panel can have multiple voids and a void is assigned to only panel (one-to-many). In the Panel table, I set an autoincrementing number(SprayPanelId) for the pK. In the Void table, I set an autoincrementing number (VoidId) for the pk. I place the SprayPanelId into the Void table as a foreign key (same name in the void table). The problem I have is in my forms. I created a Panel form with a button to open a subform for data entry on the voids related to the panel in a new window. Data can be entered and is properly saved in the Void table. I open the Void table in a datasheet view under the table section and see it is properly there. I can run queries where Void.SprayPanelId = Panel.SprayPanelId and it returns the correct void with the correct Panel. The problem becomes when I open my void subform, it no longer displays that record associated with that panel. however, the record is there in my void table. Any thoughts? Do I need a filter perhaps, run any sql commands? Thanks in advance, Kevin
View 2 Replies
View Related
Dec 5, 2013
I've attached a link below:
Basically, its a database for an entertainments agency, I've got a form for 'Artists' which shows the performers on the agencies books. I've tabbed the form so one screen shows the artist details and I want the second screen to show the bookings that the specific artist has.
I've linked to the 'bookings' table on the subform successfully, but I can't figure out how to filter it so it just shows the bookings that the specific artist showed has.
i.e.: I want it so that The Deltatones booking tab ONLY shows the deltatones bookings.
Here's the dropbox link : [URL] .....
View 8 Replies
View Related
Sep 3, 2006
Can't figure this one out. I am trying to get my query to show me which company's have not sent a supplier any money during a certain period.
However if I have the following data
abc company
1/10/02 £5
1/12/02 £10
an i search for any company who has not sent any money between 2/10/2 and 1/11/02 abc company does not show up because there is no data between these dates. If I had a record 2/11/02 £0 it shows up. So what criteria or query can I use to show this up?
many thanks
View 4 Replies
View Related
Nov 7, 2006
Hello All,
I recently added a couple cascading combo boxes to one of my forms and now the data from the underlying table that has already been entered does not show up unless I go in and reselect the options.
Anyone have any ideas on how to fix this?
Thanks,
View 6 Replies
View Related
May 1, 2008
Not sure the title is the best way to describe my problem. lolWell i have only been working on Access for a few months. The database i am working on keeps track when employee have been trained in a certain SOP document. I have a table for employees names and info, a table for SOP names and info, and a look up table that includes both employee and SOP with the date that they have been trained. Is it possible to create a report that would display what they did not train yet? Forgive me if its a stupid question and any help would be great. Thanks for your time.Aloha
View 4 Replies
View Related
Jul 28, 2005
I have a table of customers' data and another with the ISO country codes. They are joined. The country codes appear in the customers' table. The main table looks like this:
http://lemmikki.uw.hu/countries.JPG
On the form I would like to display the country's name instead of the ISO code.
How is it possible?
View 2 Replies
View Related
Jul 7, 2006
I have a datasheet with some combo boxes that search for data under specific dates and times, at the moment when you select the date and time for the combo box, it will just go to the first record matching the criteria, however I would like it set up so that ONLY those results are displayed.
Any ideas??
View 1 Replies
View Related
Feb 10, 2005
I recently have made some changes to a bound form that someone else created. Since I made the changes, simply adding a couple more linked textboxes, the form will not populate any of the fields until I lose focus from this main form to another form and come back. I have tried adding me.requery, me.refresh to the onActive event, but it does not work.
Also this only occurs on 2 machines. If I try it on mine or a couple of other computers in the company the program works fine.
I am at a complete loss as to what to do and could really use some help on this one.
View 6 Replies
View Related
Sep 5, 2006
Hello,
I have a form based on 1 table and I am trying to find out if I can display data from another table if I have a relationship between the 2 tables?
Thanks
View 1 Replies
View Related
Oct 18, 2006
I know this is really silly.
How do I display data that I am working with in a report? I want to do the equivalent of alert or response.write. I am using msgbox, but it's getting old. What is the syntax for just displaying it ? Can I do that on a form? I tried using document.write, but it didnt like it. thanks-
View 1 Replies
View Related
Jul 23, 2012
I Have this graph that needs to be run from a combo box selection. it doesnt seem to want to display any information at all. i have attached my database.
View 2 Replies
View Related
Aug 26, 2014
My problem is displaying data in many-to-many relationships.
There are three main tables: tblShops, tblOwners and tblMarketingEvents.
These are linked through two junction tables creating two many-to-many relationships:
1) Each Shop may have more than one Owner and each Owner may have more than one Shop.
2) Each Marketing Event may reach more than one Owner and each Owner may be reached by more than one Event.
Now I want to display for each Marketing Event:
1) the data of that event, (tblMarketingEvents)
2) plus the owners reached in that event, (tblOwners)
3) plus all the shops owned by the owners reached in that event. (tblShops)
Preferably, I want to display more than one record at a time without repeating any information.
Is there a way to display the data like this?
I tried a query: it gives the right data but does not display it as I need. It repeats the data from tblMarketingEvents and tblOwners for each shop.
I tried a form with subform: it can only display one record at a time and is hard to work with (printing etc)
I tried a report with grouping levels based on the query: Again, right information, wrong display. I need to group according to the records of the MarketingEvents table and not just according to a single field.
View 3 Replies
View Related
Mar 16, 2007
Hi
i have 2 querrys with the same fields but different criteria (one is to search a person throw their id and the other one to search a person by their surname and dob). i can't work out how to display the results of the querries to an existing form i have. Can anyone help me please?
View 1 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
Mar 30, 2005
I'm a complete novice when it comes to dynamic data so forgive my ignorance.
My database contains details of projects in progress. A user can click a link in a list and
display a summary of that project (okay so far - I've done that bit) - in the database though there
are two tables the second one lists project events/comments (title, date, job number and description) - when something interesting
happens during a project we add to the 2nd database a summary of what happened (we made 2nd db because the list
of things happening could be one entry or 50 entries) - the tables are links by the job number.
On the web site I would like that when a user clicks the link to display the info about a project it all also pulls info from
the second db but for the project with the same number.
I've hard coded a similar thing before "select * from tblProducts where category like 'Off Road and Dirt Bikes'" but in
this case instead of hard typing 'Off Road and Dirt Bikes' I'd like it to automatically insert the job number of the project
being looked at from the first database.
I don't think I've explained this as well as I could've - but if anyone could help I will be really grateful.
View 1 Replies
View Related