Displaying Multiple Records On A Form

May 17, 2005

Anyone know how to display multiple records at the same time on a form?

View Replies


ADVERTISEMENT

Forms :: Multiple Records From Query Not Displaying On Form

Nov 18, 2013

I have a form that a user will use to search records. Upon selecting a record, there are three buttons that allows the user to look at more detailed information. This information will be on the many side of the relationship. So I will have multiple values. The called form is just a popup form that I use for several other instances, like displaying memo fields from other tables.

The problem I am having is that only one record shows up at a time on the called form. I have read through the postings and have changed the properties for Default View, Filter on Load, Data Entry, etc. Nothing seems to change the outcome. I have run the query in SQL view and have no issues. It returns the correct records and multiple rows when expecting. Why they don't show up on the form. There are no errors, just the first record from the many side of the relationship shows up in the form. I would like all records to show up, just like when I run the query.

Code:

SELECT Capability
FROM Process_Meetings_Capabilities, Process_Meetings
WHERE Process_Meetings_Capabilities.Meeting_ID = Process_Meetings.Meeting_ID
AND Process_Meetings_Capabilities.Meeting_ID = 2;

Button Code

Code:
Private Sub Capabilities_btn_Click()
strSQL = "SELECT Capability AS Results"
strSQL = strSQL & " FROM Process_Meetings_Capabilities, Process_Meetings"
strSQL = strSQL & " WHERE Process_Meetings_Capabilities.Meeting_ID = Process_Meetings.Meeting_ID"
strSQL = strSQL & " AND Process_Meetings_Capabilities.Meeting_ID = " & Me!Meeting_cmbo.Column(0)

[Code] .....

View 6 Replies View Related

Displaying Multiple Records In Control

Aug 3, 2005

At the moment I have a field 'Author' which is displayed using a subform. The user can cycle through the many authors that are associated with each record in the main form. However, what I'd like to do is to display each record simultaneously in the same control, and with a little bit of playing around in VB get the form to work out how many Authors there are and display the names in a particular format. I.e.,

Bloggs, Jones & Smith
Hank & Mason

See what I mean? Does anyone know how I might refernce the records. So logically it would be:

lblAuthor = Record1 + "," + Record2 + " & " + Record3.

If that makes sense...Sorry if this is in the forums somewhere...

View 1 Replies View Related

Form Displaying Multiple Tables

Jan 27, 2006

I have a combo box with a list of names in, and a table for each of those people.

When one of these names is selected, i want the contents of the corresponding table to display in a form. Easy Enough.

But...how do I get these tables displaying in one form depending on which name is selected, to save me having 7 copies of the same form just with different sources. All the field names are the same.

One solution I thought of is to put all the data in one table, but would really rather keep it separate.

TIA

View 2 Replies View Related

Multiple Value Fields Displaying In Another Form

Mar 4, 2013

By means of a multiple value checklist the Field: "Problem" can be selected (marked).The multiple value field information is stored in the table beginsituation in the form Beginsituation. This stored (selected fields only) information I want to be fetched from the table beginsituation and shown in the multiple value checklist in another form called Progress. The user can than change the selection via the multiple value checklist if the user wants this and this information will be stored in the table: "Progress". However I could not get the in the previous form (Beginsituation) selected values in the multiple value checklist.

View 3 Replies View Related

Displaying Number Of Records On A Form

Nov 16, 2004

Dear All:

I am curious to see if threre is a way to display the number of records on a form in a text box. I know access has this number on the bottom of the form, but it's a vision issue for me.

Any ideas on how to get this done?

I am most appreciative of all the help.

Regards,

Dion

View 2 Replies View Related

Forms :: Not All Records Displaying In Form

Aug 20, 2013

I have a form where users can look through different records as well as add a new record through a control button. When a new record is added, all the relevant data should end up in the corresponding back end tables.

The problem I am having is that some of the new records I am adding work perfectly (sync with the tables, etc). Other records, however, are showing up in the tables but not in the actual form. For example, when I attempt to search in the form for the record name, nothing comes up.

The Datasheet View is set to No, so it's definitely not that. I'm not really sure where else to look - the new records appear in tables and the report I have linked to the form, they just don't all show up in the actual form!

View 3 Replies View Related

Counting Results Of Multiple Queries And Displaying The The Reults On A Single Form

Apr 17, 2007

Im making a database about past bid results. In one table i have a list of bidders and which place they came in (along with some other information). I have 20 positions (1st place, second place and so on...), so i made 20 queries that search through the table for my company's name so we can see how many times we came in first, second, third and so on. Now i would like to bring the number of records in each query to a single form. I tried making another query to using the count feature on the other 20 queries but it keeps returning 0 as the number of results per query. But when i open each query up there are obvisouly more that 0 results in each. Is there a way i can bring up the number of results per query all on one form?

Thank you

Dan

View 7 Replies View Related

Subform Not Displaying Correct Records From Main Form

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

Displaying Form Records Created By User And Specific To A Date

Jul 24, 2005

Hi,

I was wondering how difficult it would be to do the following:

1. A user opens up a form.
2. The user uses a combo box to select his/her name.
3. There is a date combo box on the form and by default, it is set to today's date. So when the user selects his/her name, the records for today are displayed. Changing the date will show only the records for the date shown.
4. The user will have the ability to add and delete records specific to the criteria chosen in the text boxes. Adding new records will only add records for the date chosen in the combo box. E.g. if he/she adds a record for today, it will only be seen when today's date is selected.

Will a subform have to be used for something like this? Or could it be done with one form using filters?

Any thoughts and/or approaches on this would be greatly appreciated.

TIA.

View 3 Replies View Related

Forms :: Opening A Form And Displaying Records Based On Two Criterion

Feb 24, 2014

OK, I have two forms:

Form 1: Courses

Form 2: Mark Grid

The user select the class from [Combo28] for the unit already in [Textbox named Unit] from Form 1 and wants to list all the students for that particular class and unit in form 2.

I have tried god knows how many different codes. I've been playing with:

DoCmd.OpenForm "Mark Grid", , , "[Text43]=" & Me![Combo28] & " AND [Text17]= '" & Me![Unit] & "'"

But with no luck.

View 2 Replies View Related

Record Lookup In Form Flashes One Or More Records Before Displaying The One Selected

Dec 3, 2014

I have a form (Student Details) that has an unbound lookup box using a query to select a student. The lookup has the hidden Student ID autonumber key field plus Class Number, Last Name, First Name, Status, sorted by Class Number (descending), Last Name, First Name.

The form record source is a similar but unsorted query.

There are nearly 1000 student records. The form has pages (tabs). The lookup box is in the form header. There are dozens of fields in the 1st Page (General) including an picture (attachment, not hyperlink) field holding a photo of the student, the other 6 pages have less.

When you select a student via the look up, at least one sometimes more students "flash" before it displays the one you want, which seems to display twice before it stops.

I deleted the picture field to see what difference that made, because it seemed to do the most flashing, and indeed, without that field you go right to the record. I looked at the Student table indexes and it seems that field type is not index-able, which is understandable.

Is there any way to improve this with still leaving the photos as attachments? Some thoughts:

It improves if it is displayed first as an Icon or Paper Clip, and probably would if a hyperlink field, but we like to have the picture displayed and not have to open the link to see it nor worry about the location changing invalidating a link. It seems that if the record was displayed with the picture field only filled after all the other fields were filled it would make for a better impression.

Can an On Load form event VBA or Macro be written that either hold the picture back until the rest of the fields are displayed or if an icon or changed to a hyperlink to open. Would it work if the pictures were attached to a separate joined table?

View 11 Replies View Related

Displaying Linked Updatable And Non Updatable Records In Form

Jan 20, 2006

My problem has now moved on to a form issue which means no one has been able to answer is in the queries section of the forum as there is no way around it using queries so i hope you can help. All information is available on this thread. Thanks, Sci http://www.access-programmers.co.uk/forums/showthread.php?t=100376

View 3 Replies View Related

Displaying Multiple Objects

Sep 4, 2006

Hey guys and gals, im in dire need of help!

I have a table with two fields. A name field where I have a bunch of unique numerical data and an object field, which contains unique pictures.

I am wondering if it is possible to create a form where I can display say ten pictures (I'm assuming as bound objects) and have each of them display a different object from a different record?

Or in other words can I have one bound object displaying a picture from one record, and a second bound object, displaying a picture from a second record, on the same form?

I have tried searching for everything and any little help would be much appreciated!!

Cheers
Robbie

View 1 Replies View Related

Displaying Multiple Images With .SourceDoc

Dec 21, 2006

Hi,

I am new to Access forms and need some help. I did some research and figured out to display images in Acess Forms while getting the image path from a text field in the table. The images are suppose to change for each record. I have no problem displaying the first image a different image for each record but I am having problems displaying the second image. I have to 2 different fields for both image paths in the table. Here is the code:

Private Sub Form_Current()
On Error Resume Next
If Not IsNull(Me![Image1]) Then
Me![ImageFrame1].OLETypeAllowed = 1
Me![ImageFrame1].SourceDoc = Me![Image1]
Me![ImageFrame1].Action = 0
Else
Me![ImageFrame].SourceDoc = "C:Documents and SettingsAll UsersDocumentsMy PicturesSample Pictureso-image.bmp"
Me![ImageFrame].Action = 0
End If

If Not IsNull(Me![Image2]) Then
Me![ImageFrame2].OLETypeAllowed = 1
Me![ImageFrame2].SourceDoc = Me![Image2]
Me![ImageFrame2].Action = 0
Else
Me![ImageFrame2].SourceDoc = "C:Documents and SettingsAll UsersDocumentsMy PicturesSample Pictureso-image.bmp"
Me![ImageFrame2].Action = 0
End If
End Sub

The problem is that the function returns after 'Me![ImageFrame].Action = 0' and doesn't go to the part where I am checking if the 2nd image exists. If I take out 'Me![ImageFrame].Action = 0' then it doesn't display the first image and goes on the 2nd image and displays the 2nd image.
So that he bottom line is, with this code I can only display one image (either f1st or 2nd). Also, I tried using .Picture property instead of .SourceDoc but that doesn't work either. How can I change this so that I can display both images?

I really need to figure this out and will really appreicate any help. Thank you

View 1 Replies View Related

Forms :: Displaying Multiple Values In A Textbox?

Jul 30, 2013

I am designing a book collection database where each book can contain multiple authors. I used three tables; tblBooks, tblAuthors, tblBookAuthorJOIN. The tblBookAuthorJOIN allows me to create a subform with drop down combo boxes in the Books form linking multiple authors to each books indexed field. The Author table contains the usual FirstName, LastName, MiddleName fields. I would to be able to display the names of each author in the forms header but I am having difficulty.

For example a book may have two authors such as:

Authors table would contain values such as

Last Name: Grisham
First Name: John

Last Name: Twain
First Name: Mark

Textbox in header would display: John Grisham; Mark Twain

The authors would be displayed in the following format in the same order as listed in the subform datasheet.

Attached is a graphic of the form.

View 3 Replies View Related

Tables :: VLookup Displaying Multiple Cells

Jul 17, 2014

I am creating a staffing database and currently have two tables:

Table 1 - Staff - which contains staff information ie. First Name, Last Name, Other Names

Table 2 - Staff Work History - which displays the shifts worked by each staff member.

In Table 2 - I have "Staff Name" which is populated using VLOOKUP and searching for the Staff Name from Table 1 - First Name, Last Name, Other Name.

I want Table 2 column "Staff Name" to display all parts of the name - not just display then when on the dropdown when you select the staff person. Currently only the First Name is displayed once you have chosen the staff person.

View 2 Replies View Related

Displaying Records

Feb 21, 2005

I have 500 Records in my Software Table, and I would like to display only those records that match my criteria that I place in my text box on my form called Software Name. So Once I have entered the software type in my text box, then I would like to display those records at the bottom of the screen as the selected records.... Any ideas??My table is called, Software, which contains Software Type, Software Name, Serial Id, Comments, Inventory Number, Version , Key and Company... I have a text box that is called txtSoftware, Which searches the databse and display the information in a list box called, lstResult, I would like to however, have the option, display in the list box but also display those records on the bottom of my form as it will look like in design view of my table. I have no idea how to ever start the idea ....

View 1 Replies View Related

Displaying Records

Nov 2, 2006

This is probably a very basic question, but I'm going to ask it anyway.

I have two tables linked together, in a one to many relationship (a supervisor table, and an employee table). Each supervisor can have many employees that report to them. I then set up a forum to enter new employees as they come into the corporation, and need to referance which supervisor they report to, I have a drop down box that I want to display SupervisorLastName, SupervisorFirstName (for example, Williams, George) but is only displaying the SupervisorID (for example 60).

How can I make the forum display Williams, George instead of 60?

Thanks in advance for your help.

View 2 Replies View Related

Forms :: Displaying One Field In Combobox In Multiple Columns

Jul 17, 2013

I have a multiple select combobox which shows up in many forms- SubCategories. The user can pick from a list of 154 SubCategories.

Everything is working properly however it is difficult for the user to scroll through the entire list.

My question: Is there a way to represent this ONE field in multiple columns in the combobox?

I know how to add columns for multiple fields to my combobox, but this is one field.

Maybe there is a better way to represent the data... a subform would have the same issue.

View 6 Replies View Related

Forms :: Multiple Column Combo Box - Displaying Values?

Mar 4, 2015

I have a multiple column combo box on my form, that is correctly populating. When I make a selection, it displays the result from the first column. Bound column seems correct, as my table is being populated correctly.

1 - Can I display the values from both columns after the selection has been made?

2 - If not, can I choose to display the second column (not the first) after the user has made a selection?

View 3 Replies View Related

Multiple Records One Form?

May 21, 2006

Hello, Limited access user, here is what i am trying to do.

I keep records of members of a racing organization using access. Some users have have multiple vehicles. Each driver and each vehicle have a number. On the form i use to input the data, i am trying to have the member and their vehicles, however it will only allow one vehicle ID number. How could I have a group of fields on a form, where the data of those fields could be associated with each other.

So that when i get an application, I can put all the info on one form, member name, and member ID, vehicle name vehicle ID, one two or three times, with different names and numbers, but one field so i can still use vehicle ID to do sorts and such.

View 7 Replies View Related

Displaying Records That Have A Null Value

May 14, 2006

I'm trying to get a query to display only the records that have a null value in a certain field.

I know this has something to do with the Nz function, but I can't figure it out.

View 2 Replies View Related

Query Not Displaying All Records

Sep 5, 2006

Hi All

I have 28 records in my table - when I run the query (made by using the wizard) it only picks up 6 records.

I have no criteria in the query - just a straight query fulling all fields from the table.


Any suggestions?

View 7 Replies View Related

Records Not Displaying In Query

Nov 7, 2007

I am attempting to run a query with fields from 6 tables. These tables have been related, but just a simple ID to ID throughout all of the tables. When I select the fields I would like to be in query using the disign wizard it will allow me to create the query, however it will not display and data.

Originally, the query wizard would not allow me to insert all of the different tables fields in the query because "they were not related", so I went back and did the ID to ID relationships. Like I said this now allows me to create the query, but unfortunately no data appears.

Anyone have any suggestions please??

View 9 Replies View Related

Problems With Displaying All Records

Jan 14, 2008

Hi all, this is my first post here and im hoping one of you can help me! :).

Basically I have a report which pulls up a number of fields from different tables that basically show a work number and what the value of the materials used in the job cost. It works fine. Now when I go to add the labour table into the query, it instantly cuts out alot of the records. Now im 'assuming' this is due to the fact that not every job could have labour spent on it, that it is simply not showing records that do not have any labour hours associated with it. Therefore I want to be able to call up all the information as I did previously, but be able to show the hours spent on a job (if any). This is not my database and Ive spent a good day or so staring at it and trying multiple things but I cant seem to pull up the information correctly. There is a relationship between the tables, but I am puzzled why the information it pulls up when I add the labour table is so different.

Thanks for any help.

View 4 Replies View Related







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