Auto Fill In Data From One Table To The Other

Jan 9, 2008

Its been a long time since I did dB work - stopped back in the days of dBase IV.

Still, using Access 2007 is not that difficult - except right now. I have 2 tables; one with customer contacts, the other with project details. Heres what I want - hopefully someone can help:

Within the project table, select from a lookup into customer contacts a name, which then auto fills in the fields for phone and email in the project table. I want to do this in the table or form, but have the data deposited into the table for sure!

Any help really appreciated.

View Replies


ADVERTISEMENT

Auto Fill With Data From ODBC Linked Table

Jun 8, 2007

Hi All,

Although familiar with CR, SQL and other such things. I have never had cause to use Access all that much.... Until Now!

My problem is easiest explained by my requirements....

I have a db table called Source. The data for this Table is populated by a form called Technical. Technical containes a series of fields (SO No, SO Line No, WO No etc etc). Some of these fields are lookup fields linked directly to the SO_Header Table in our main ERP software via and ODBC connection. The result is the SO No field is populated with a list of Sales Order No's as they exist within the ERP software. Within the Technical Form I have also the Customer Name.

This is where the problems begin. Within the ERP software we have two tables which I need to use: SO_Header and Customer. The SO_Header contains all the Sales Order info and the Customer table contains all the customer info. What I need to do is populate the customer name field in by db with the relevant customer based on the SO No chossen. However the Customer Name does not exist in the SO_Header table. Instead both the SO_Header table and the Customer tables contain a field called Cust_Code.

Now if I wanted to link these in Crystal Reports I would link from the SO_Header table to the Customer table using the Cust_code field. This would give me the corresponding Customer name based on the Sales Order No.

How can I get the correct Customer Name to appear automatically in my Access form based on a SO No chossen by the user?

I would realy appreciate any help on this! If you need me to clarify anything please ask.

Thanks in advance!

RobV

View 1 Replies View Related

Data Entry - Auto Fill Data For Exisitng Accounts In Records

Mar 9, 2006

First I would like to give thanks to all the knowledgeable folks here who have helped me with my DB to date. It is working and every one is very happy and I have learned a lot.

So now I would like to add some more functionality to this existing project.

My DB is for data input of customers for a drawing. It has the following fields: Id, account number, first name, last name, date/time, score1, score2.

I t is taking a great deal of time for the users to enter in hundreds of entries a day. Most of the entries are customers who are already in the DB. I would like to get the fields to auto fill the data for existing customers say after the account number is entered. So after you put in the account the name and any other pertinent data would shows up saving users from typing it in again.

The first problem I am having is that this is still a data entry form and I can’t figure out how to be able to see the account information and still add new data to the record? The new data is a daily score they get.

Second I haven’t figured out how to call up the customers information from just the account field.

I’ve googled this and haven’t found anything terribly helpful.

View 2 Replies View Related

Auto Fill Data Between Tables

Aug 31, 2011

I created a database to track a group of records (people). I couldn't figure out how to auto number the primary key to a random unique number that was less than 10 digits so I generated a list of random numbers and just use the next number off the list as I enter the next person which works OK- but I have to put that number on each table as the ID number to relate back to the Primary key and it seems that I should be able to have those auto fill with the entered number. Is it possible to have the number typed in "table 1" (people) primary key auto fill onto each of the other tables as an ID number??

View 1 Replies View Related

Auto Fill In And Check Data From Other Tables

Mar 15, 2007

I am new to Access, and I need some help for this project I am working on. Please let me know if my question doesn't make sense.

I have created four tables: Clients, Tenants, Property, Contract


Clients
Client ID | Client Name |

Tenants
Tenants ID | Property ID | First Name | Last Name

Property
Property ID | Client Name | Contract ID

Contract
Contract ID | Clients ID | Client Name | Tenant ID | Tenant Name |Property ID |

Is there a way that when I enter Client Name in the Contract table, Client ID would automatically come up and check against other fields in the table if the information entered in Contract table is in sync and relevant against to data entered in Client, Tenants, and Property table?

Please let me know if this is not clear and I need explain more. Thank you.

View 8 Replies View Related

General :: Auto Fill Data From Outlook

Jun 6, 2013

Is there a way to auto populate a table or form in Access from an Outlook email? For instance, if I send a survey via email and the survey is taken and sent back via email is there a way to have that data auto fill into the database or will the info need to be manually data entered?

View 3 Replies View Related

Auto Fill Data Number Between Tables

Feb 7, 2014

I am creating a Access Data Base for Product Complaint. I have created several tables that share an auto complaint number (Primary Key). How do I make that auto assign? Below is the format of my Complaint number;

A Complaint Number is assigned using the format: PCYYMMXXX
Where:
PC = Prefix indicating Product Complaint
YY = Last two digits of the year when complaint originated
MM = Two digits for the month when complaint originated
XXX = Sequential number starting at 001 for each year

View 1 Replies View Related

How To Auto Fill Value From Another Table

Mar 23, 2013

How to auto fill value from table3 to table1 and 2 ? for exmple, ShareID and Contract#, move from table3 to table1 and 2.

Table1

ShareID
ShareName

Table2

ShareID
Contract#

Table3

Date
2/2/2013
Contract#
123
ShareID
AAPL
ShareName
Apple
Cost
Quantity

View 3 Replies View Related

[Data Access Page] Auto Fill Fields

Dec 17, 2007

Is there an easy way in Data access pages to do like you do in forms as far as using a dropdown list and when you choose a name/acct#/rec# or whatever, that the rest of the fields are automatically updated to match? Just curious.

If you need an example, I can provide one.... basically, I'm trying to get a data-acess-page to act like a form so someone without access can do a simple search.

View 1 Replies View Related

Forms :: Auto-fill Data Based On Combo Box?

Nov 20, 2013

I have a combo box that autofills a text box, this has duplicate values and I want to fill the text box based on the selection of the combo box.

Let me explain:The combobox is Suburb, the text box is for Postcode, the data has multiple matches for example FRANKLIN has a postcode match of 2913 in ACT and also 7113 in TAS.

From the combo box I select the record that matches 7113 but 2913 enters into the text box.

This is my code: In Row source of the combo box I have - SELECT [Australian Postcodes].Locality, [Australian Postcodes].Pcode, [Australian Postcodes].State FROM [Australian Postcodes];

In Event on change I have -

Private Sub Suburb_Change()
Me.Postcode = Me.Suburb.Column(1)
End Sub

how to change this to be based on the selected record from the combo box?

View 2 Replies View Related

Auto Fill On Table Field

Mar 6, 2006

Please help

I have 2 tables:-

1 Master Input Table.
1 Job Lookup table - (contains Job Number and Name)

When in-putting job details into the Master Input table i would like to enter the job number only and have the job name appear automatically without running a query, much the same as a 'vLookup' command in excel.

Is this possible?

Can anyone help?

View 3 Replies View Related

Auto-fill One Field From Another Table

Jan 21, 2011

I am working on Access 2007.

I have two separate tables (called inventory and job log) and they have a few of the same field items (number, name, style 1, style 2, and area).

I would like the job log table to autofill the name, style 1, style 2, and area when you type in the number when logging a new job (pulling this information from the inventory table)..

View 3 Replies View Related

Queries :: Auto Fill Table Field

May 7, 2014

I have been away for Access for a long time and having issue with making a query. I have 3 tables. "tablEmployee" has employee ID, first name, last name and sizer ID. "tblproduct" has product ID, Description and rate. I made a new table called tbldata which has date, product code, product description, product rate,employee id, employee sizer id, and lbs. I want a query when I enter the product id in tbldata, query auto fill the product description and rate. also same as employee.

View 3 Replies View Related

Tables :: Using Combo Box To Auto-fill A Column On Table?

Feb 7, 2014

My problem is I have two tables. One of the tables was made specifically to draw information from to populate the second table. The second table has a combo box that draws information from one of the fields from the first table. What I am hoping to do though is have each selection from the combo box in the second table to draw different information from another field in the first table and use that data to populate another field in the second table.

Simplified: Combo box in Field (1) on table two has multiple selections that I want to autofill the data in Field (2) on table two based upon the selection of the combo box. Data from both fields in table two would come from two different fields from table one.

I have tried to work with the After Update button in the After Events section on the ribbon at the top; however, I am simply lousy with coding. Is there an easier way to do it other than using that option?

View 10 Replies View Related

Modules & VBA :: ComboBox Pulls From Table Will Not Auto-fill

Nov 5, 2013

I am having problems having my combo box auto fill the next text box. The table it pulls from is called Code-LeaseProvision and it has only 2 columns in it. So when built the combo box it pulls the both rows. One is labeled "Code" and other other "ProvisionDescription" I have it set when you use the combo box it fills Code but it will not fill the next text box labeled "ProvisionDescription". So when I put the event into the ProvisionDescription afterupdate as a VBA code. This is what I have:

Private Sub desc_AfterUpdate()
Me.[ProvisionDescription] = Me.[Code].Column(1)
End Sub

It fills the combo box but will not fill and update the LeaseProvision Text box.

View 9 Replies View Related

Tables :: Select Table Lookup And Auto Fill In Another Field

Apr 10, 2014

i have a user permission table.that consists of PermissionPK, UserFK, CompanyFK. I also want the username to be automatically filled in?So when a user ID is filled in on the table, it also fills in what that UserID's Username should be?As i need both the UserId and Username text for code that looks at the Environ username.

View 2 Replies View Related

Table Of Orders - Auto Fill A Column Based On Selection In Another

Jan 23, 2013

In my database I have a table of customers and a table of orders (where many customers have more than one order, so the primary keys for each table are customerID and orderID).

In the orders table, the first columns are:

OrderID CustomerID Customer Forename Customer Surname

I need my table to auto fill in the customer forename and surname based on the selection of customerID (the names are saved in the customers table).

I already have a lot of data filled in, so am looking ideally for a way to fill these name columns without having to re-input all the data.

View 2 Replies View Related

Forms :: Unbound Control In Data Input Form - Auto Fill Leading Zeros

Apr 12, 2015

I have an unbound control in data input form requiring to input a 6-digit number. I have put a validation rule restricting more than 6 digits. Most users prefer to enter, say 123 and the system can enter the 3 leading zero for them.

View 6 Replies View Related

Tables :: Auto Fill Part Of Form From Project List Table?

Nov 14, 2012

I have a master list of projects, with project reference number, project name, and nature of project.

I have also got a form for individuals to fill in details of project events, with date, time, name, and two or three other fields - also included are project reference and name. I'd like the name field to be auto filled when the user selects the project reference from a combo box; I think? (the list only shows open projects).

I'd did something similar some years ago in Access 2003 (I think) but cannot figure it out in the version I'm currently using 2010.

View 8 Replies View Related

Tables :: Auto-Fill Fields Based On Linked Table (Access 2007)

Jan 6, 2015

I understand right off the bat if you're reaction is "don't duplicate data!!" -- mine would be too (don't fret, I know my normalization).

I've linked a table in my db to my Global Address Book in Outlook 2007 and, upon entering an employee number as a new record, would like to verify that the number entered is listed in the GAL and then pull in the associated name and location info.

The key is that I don't want this info to rely on the GAL going forward. For example, if an employee leaves or is no longer listed in the GAL, I don't want to lose the employee info (past data is needed for audit purposes). Note: I will be creating a report later to show if there are discrepancies between the GAL and my table, but that's another story...

So, what would be the best auto-fill options in Access 2007?

View 3 Replies View Related

How To Auto Fill Table A From Table B

Jun 8, 2006

AUTO FILL-in - Of course, this is banal and simple - if you know how to do it. If you don't it seems impossible. Bizarre that on the whole internet so far I can't find a clear, simple example!

Table A is a list of lessons; table B a list of courses. They have various fields in common, such as "courseref", "course title", "room number", "teacher" etc

I want to enter the "courseref" in a form created for table A and fill in the other common fields in the same table (A) from table B, which is acting here as a lookup or reference table.

So, is it a combo box? What code goes where? Do I make a select query? How to link it to the key field and the associated fields. SELECTDISTINCT seems to come in somewhere, but NO SOURCE I can find explains it clearly to me (and I am not yet senile ....). Can any of you?

View 5 Replies View Related

General :: Auto Fill All Requirement Check Boxes Based On What Is Stored In Client Info Table

Jul 1, 2013

I have a table called Client Info which stores the clients name and their requirements (Gas safe etc). And I have a table "Job List" where i select from a drop down menu the clients and it auto fills all the requirement check boxes based on what is stored in the Client Info table. However I can't get the code to work.

Private Sub Client_Click()
[job_list].[Gas_Safe].Value = [client_info].[Gas_Safe].Value
End Sub

View 7 Replies View Related

Tables :: Auto Fill Values In New Record With Data From Previous Record

Apr 29, 2015

How to fill values in a new record with data from previous record?

I've total 11 columns in a table and values in 3 4 columns are repeating for few rows before it needs to be changed eventually. I want to fill these rows with values from previous record.

View 10 Replies View Related

Forms :: Auto-fill New Record With Data From Last Record

Feb 14, 2014

I have been searching all day for a solution. This is my first time using Access so a lot of this goes over my head. I'm currently running Access2010. I have a form that I am using for when people take office supplies and we can generate a cost per department. All of the Tables, Query and Reports are set up already and surprising work. My form fields are:

Date Created (automatic current date)
Quantity
Item Code (Combo Box that shows Item# and Item Description)
Initials
Department (Combo Box that shows Dept# and Dept Description)
RefCode
Remarks

I am trying to get it to where when I enter a new record it will autofill with all fields expect "Item Code" from the previous record until I change it.

View 3 Replies View Related

Auto Fill Field In A Table By Comparing A Given Date Against Current Date?

Aug 18, 2015

I am building a database to track contract of employees so that I can know which contracts are valid and which are expired.

My table has the following fields:

ID (Primary key)
Employee ID (Foreign key to link to the employee table)
Start_Date
End_Date
Status (Either valid or expired)
Challenge

I want when I enter the end date, the system checks the end date against the current date and fills in the status field with either valid or expired as appropriate. For instance if the contract end date is March 10,2016, the status must be filled in the word valid.

View 3 Replies View Related

Automatically Fill A Table From Data In Other Tables

Mar 20, 2006

I have 3 tables:

Student Info:
Student ID (Primary Key)
Name etc.

Assignment Info:
Assignment ID (Primary Key)
Assignment Number
Criteria Number

Grades:
ID (Primary Key)
Student ID - Linked to [Student ID]
Assignment ID
Criteria Number
Grade

What I would like to do is be able to link the tables in such a way that for each student entered in the Student Info table, entries are automatically entered into the grades table for each assignment criteria.

For example:
Assignment 1 has criteria 1.1, 6.3, 7.2, Assignment 2 has 4.2, 3.3

When John Smith is entered in student info, the grades table is automatically updated with 5 new entries in the form:

John Smith - 1 - 1.1 - Enter Grade
John Smith - 1 - 6.3 - Enter Grade
John Smith - 1 - 7.2 - Enter Grade
John Smith - 2 - 4.2 - Enter Grade
John Smith - 2 - 3.3 - Enter Grade

That way I can have a form that automatically shows the possible criteria for each assignment on the sub form for each available student without having to type it in each time.

Your help would be wonderful

View 2 Replies View Related







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