Forms :: Populating Forms From Previous Records?

Jan 26, 2015

I am following mice and am trying to build a form that lets me add a new mouse to the database. I want to be able to either enter the the unique mouse id of the mother if I know it or be taken to another form that lets me identify the mother from the females already in my system. I know this is possible because I have seen examples of it where, in the find mother form, I give the strain name in a combo box which narrows down the selection of mice in the DOB combo box which in turn narrows down the unique mouse id which is the information I really want. I then want to carry that id back to the original form to enter it as the mother id.

In an ideal world the database would recognize this id being put in for a mother and note in the mothers record that she has had a litter. The litter id, which I am currently composing of motherid&fatherid&DOB, would go into the mothers record.

View Replies


ADVERTISEMENT

Forms :: Populating Records From A Choice In Lookup

Jun 14, 2013

When adding a new project to the DB (through forms, not tables) when we get to the Client Company, I have a look up menu for previous clients (many of which will be reused) and when I click on the company, I would like the information to auto populate the client company info (address, city, state, phone, etc.) form. The whole point of the look up is to not have to re-enter information for the same company over and over. However, if there is a new client company I will be able to fill that info in myself to be added to the table.

View 4 Replies View Related

Forms :: Cannot Scroll Back To See Previous Records

May 2, 2013

I have a main form EMPLOYEE RECORDS with employees information, with a Subform, where pay records are entered. Mysubform always shows record 1 of 1, and I cannot scroll back to see previous records. How can I see the previous entries.

View 9 Replies View Related

Forms :: Combo Box Not To Show Previous Records Already Selected?

Apr 27, 2014

I have a form that has four combo boxes on it that enable the user to select entrants in a golf tournament for tee off times and tee. (I have attached part of this database to this post) It all works fine but after selecting the first player in the first combo box and then selecting the second combo player I would like the player selected previously not to show up. Is this possible or do I have to rethink the way players are selected.

View 5 Replies View Related

Forms :: Updating Cost Without Changing Previous Records

Apr 11, 2014

I have this estimate database for a construction company. In this database I calculate how much will a project cost. It's pretty much complete the only problem that I have is trying to figure out how to update the cost of a trade without affecting older records

Example let's say we have a painter that makes $15/hr in project A,B,C,D,E we decide to give him a raise so project F would have a new amount for painter. The problem with that is that it will affect record A-E

I don't want that my department wants to go back and view a history of records. Also take a look at my database it's my first time creating one ...

View 7 Replies View Related

Forms :: When Clicked Form Opens To Blank Record And Won't Show Previous Records

May 6, 2015

I've recently decided to move a database that had all its information on 1 table and divided it into multiple tables.

Attached is the relationship as well as the form.

The issue I have is that when I click the form, it only shows a blank record with none of previous records.

Data entry is already set to NO. I'm wondering if it's an issue with my relationships, tblStudioDescription is the parent table and the others are child tables so I linked them with the ID and set referential integrity.

View 7 Replies View Related

Forms :: Open A Form With Previous Forms ID

Sep 17, 2014

I am trying to have cascading forms running on my database. The first form adds a new staff member. When you press the next button this happens...

Private Sub Command12_Click()
DoCmd.Close
DoCmd.OpenForm "Frm2"
End Sub

But I want it to open Frm2 using the ID from the previous form. The stumbling block for me is I close the first form before opening the next so I cant pass the ID across.

View 2 Replies View Related

Populating Forms

Jun 5, 2005

I need to find out how to populate a blank form with the results of a query i.e. by selecting an item in a combo box and populating the form with the results.

Thanks,
VAA

View 2 Replies View Related

Populating Forms

Mar 29, 2005

Can a form be directly Bound to a dao recordset?
I read an article form microsoft showing it being done in ado
by setting the recordset property of a form.

View 4 Replies View Related

Help With Populating Data In Forms.

Jun 16, 2006

See this image so you know whats going on:

http://static.flickr.com/65/168560405_1b8ea5cc82_o.jpg

This is a DATASHEET VIEW, not a table.

I have a table that has the part number, the description, and the usage.

I am stumped on trying to get just the 2 fields to populate into this subform (datasheet view), when the part number is selected. I may have several lines of part numbers. How do I go about populating this form? The user will indicate the actual quantity. The quantity changes per order, yet the usage stays the same.

Any suggestions?

Bradley

View 3 Replies View Related

Populating The Same Field In 2 Forms

Feb 15, 2005

I have 2 forms. Information from one field links both forms (though it is not the primary key). Using a "open form" button I want the field on the second form to be populated with the contents from the same field on the first form, when a user selects the open form button. I imagine all of this is very doable in SQL, however I am using Access GUI to construct my database and have no time to learn SQL at this stage. Any ideas would be greatly appreciated.

View 1 Replies View Related

Forms :: Pre-populating A Subform

Apr 21, 2015

I have a Form1 and Sub Form2...Form1 is a list of tasks: Each task has a quantity of Items.The forms are in Datasheet format.I have a list of people who can only do specific tasks and at present my Form2 is able to only select the relevant people for that task.The only way to "Trigger" who can do which task is to populate what quantity of work I want them to do. ie. create a link.

Is there anyway of clicking the little + button on Form1 that it prepopulates the total quantity to Form2 therefore creating a link and therefore being able to select who can do that task.If you look at the pic I want Items in the dropdown box to pre populate with the same amout as in the Form1 Items ie "1"

View 1 Replies View Related

Forms :: Text Box Not Populating

Jul 31, 2014

I am new to access but I am creating a form on access 2010 for a Pass Request. On the form so far I have two cascading combo boxes that work great so far. The problem is that once a name is selected from the second combo box(cboFullNames) I want a textbox underneath to populate(txtOrg). I have tried using requery and refresh but it never works. The only thing that seems to pull up the information is pressing the refresh button.

View 14 Replies View Related

Forms :: Access Subform Not Populating

Jan 1, 2014

A subform on a main form is not populating after the user clicks on the subform and then returns to the main form and updates the field which the subform is linked to. The first time the subform populates absolutely okay; however once the user clicks on the subform and then returns to the mainform and updates the field which the subform is linked to the subform goes blank.

View 7 Replies View Related

Forms :: Populating Textbox From Combo Box

Apr 28, 2013

I am trying to populate a textbox based on selection from combo box. Both fields are in two different subforms within the same form.

I do see the selection from the combo box fills via debug. I don't see a value in the textbox.

This is the code I am using:

Private Sub cboRequestedItems_Change()
Me.PricePerUnit.Value = Me.cboRequestedItems.Column(1)
End Sub

View 6 Replies View Related

Forms :: Populating A Null Field

Jun 26, 2014

I have an address box that I would like to auto populate with a double click event. Basically, if the location address is the same as the main company address, and there isn't any data already in the location field, then I would like the user to be able to just double click the location address and the field gets automatically populated with the main company address.

Private Sub Address_DblClick(Cancel As Integer)
If IsNull(Me.Address) Then
Me!Address = Me.CompanyName.Column(1)
End If

So this works fine if the main company address actually has an address in it. But if it doesn't then double clicking the location address produces a run time error 3315 for trying to populate a null value.

View 4 Replies View Related

Forms :: Populating Fields In A Subform?

Mar 3, 2014

I have database as follows,

1- student table: stID (PK), firstName, lastName

2-course table: courseID (PK), courseName, courseDescription

3- studentCourse: stID(FK),courseID (FK)

Now, I have created a main form based on student table and a subform based on studentCourse table. However, because I needed to populate the courseName and CourseDescription in the subform I changed its record source to a query (stID, courseID, courseName, courseDescription) so that when I move between the subform records the courseName and courseDescription still show in the subform.

To populate the courseName and courseDescription in the subform I changed the courseID to a combobox so that it brings the courseName and courseDescription from the course table and show it in the subform.

Everything is working fine so far BUT when I choose to input a courseID manually into the combobox, it does not populate the courseName and courseDescription as it does when I choose the courseID from the combobox.

View 7 Replies View Related

Forms :: Populating Fields Using Buttons?

Oct 20, 2014

In my database table I have a MainMember_Tbl which contains address fields. I also have a related table (via a field called Member_ID) called JointMember_Tbl which also contains address fields. For any particular member, mostly there is no joint member, but when there is a joint member the address fields are often the same as for the main member, but not always.

In the case when they are the same, I would like to use a button within the data input form for the joint member to 'duplicate' the address fields saved in the MainMember_Tbl - For example ....

Some how set..

[JointMember_Tbl]. Add1 = [ManinMember_Tbl].Add1
[JointMember_Tbl]. Add2 = [ManinMember_Tbl].Add2
etc...

View 2 Replies View Related

Forms Linking, Populating Data From Search

Jan 23, 2006

Hi Experts! I'm having a problem that I hope some of the experts can help me with. I am in the process of designing a database for a health insurance company that does health fairs.

I need to have a data entry form for the nurses to enter the Health Fair results. I created a form for them to search for the Employer group. They type first few letters of the group, click "find group" button and it brings up a subform (frmGroup_sub) with the filtered group. I then have the group number (field PARGRP) hyperlinked to bring up another entry form (frmHF_entry) when clicked. I need the user to be able to find the group, click on the group number, then bring up another form which autopopulates that PARGRP from frmGroups_sub into the new form, frmHF_entry and stores that group number in the table tblHF. Further, they will need to do more than one "employee" for the pargrp. So I was going to make a subform of frmHF_entry where they could enter multiple records for that same PARGRP.

I just confused myself and probably all of you...but the problem I am having is I cannot get PARGRP from frmGroups_sub when clicked to open and auto populate the form frm_HFEntry.

Here is a screen print, maybe it will help explain what I need.
http://img82.imageshack.us/img82/1065/frmhfentry1ed.png

thanks in advance for your help.

View 6 Replies View Related

Forms :: Populating And Protecting Fields On A Form

Oct 15, 2014

I am displaying records from a table on a form line after line like a spreadsheet/data sheet.

I want to do 2 things.

When the user clicks anywhere on a new row to add data I want to populate that row with some data from the row above.

I also want to protect certain fields on each line (but not all lines!)

So basically if the user is presented with

old model number.....new model number..Added by.....date

123456...................77777777................. Fred..........15/10/2014 10:11:12
77777777..................8888.................... .John..........16/10/2014 12:12:12
8888..........................6767................ .....Jack..........16/10/2014 14:11:12
6767..........................4321................ ......Joe..........17/10/2014 10:11:12

I want to protect all of the 1st 3 rows and the old model number in the last row.

When they tab or click into the new row I want the old model number populated with the new model number.

View 14 Replies View Related

Forms :: Populating Invoice From Underlying Table?

Jun 14, 2015

As simple as it sounds. I have set up a table with a list of items and the costs. I then created a form with a list comprising 10 combo boxes. I want to be able to select one record from the underlying table per combobox on the form.

I am able to do this but the records in the underlying table keeps switching to the primary key field as I go along using the combobox.

View 8 Replies View Related

Forms :: Populating A Form With Record Data?

Mar 12, 2015

I have a Form in a datasheet view and i would like to be able to double click on a record (ideally any part of the record but if not, on the name at least) and have it open up a form to that record details.

Picture 1 is the table with the records in.

Picture 2 is the form i want it to open and populate.

View 10 Replies View Related

Forms :: Pre-populating A Subform With Parent Data

Jun 2, 2015

I have a parent and sub form in dataset view.

What I would like to do is prepopulate the subform with data from the parent form when I create a new item of data..

i.e.
When I click the "+" button Field1 on my subform is populated by Field1 on the parent.

I have tried beforeupdate on both the subform properties and the subform.Field1 properties.

View 3 Replies View Related

Forms :: Populating A List Box From A Linked Table

Jun 7, 2013

I am trying to build a build calender to display customer orders on given days. I have the calender in place with intentions of having a list box on each day to display the orders.We have a daily report that is an excel file that lists these orders. I have linked this file to an access table in my db.

I am able to use this linked table to run a query and generate a report without any problems.When I try to use the information in this table to populate a list or combo box the only fields that will display are all numbers. If I use a field like "Customer Name" I get no information displayed. The data in excel and access are both set as text.

View 2 Replies View Related

Forms :: Populating A List Box With Field From Query

May 20, 2015

I have a Pupils database where I have a form with Pupil name and ID.I have a query with a calculated field and the ID and this works great.

I can display the associated calc on the form using a sub-form (I link the ID in the calc to the ID on the form) but I dont know how to get this value to display in a listbox.

View 14 Replies View Related

Forms :: Populating Date Based On Criteria

Apr 8, 2013

I have a form in which I want to capture today's date when another field on that form is changed from active to Closed. In excel I would write an IF statement but can't get my head round what I would do in Access to achieve the same result. basically it's if (field name 'status')=(criteria 'closed') then populate field (date closed with 'today's date').

View 7 Replies View Related







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