Access-Linking Table Fields Together

Sep 9, 2004

Hello all-

I'm formatting an Access table and need help linking 1 field to another. I need to specify that Field B will state "N/A" if and only if (back to good old geometry) Field A states "Yes." I've tried using the ValidationRule and Default Value functions but they don't let me refer back to Field A. Any thoughts would be hugely helpful.

Thanks much.

View Replies


ADVERTISEMENT

Trouble Linking Table Fields

Dec 14, 2004

Hello,

I created a sys admin database and the big problem I am having is linking the hostname field in table 1 to the hostname field in table 2. I have tried making both fields primary keys, I have tried creating a relationship to the two fields between the two tables. I have tried adjusting the join types.

Yet, no matter what I try, the hostnames from table 1 will not populate in table 2. I have even tried adding a new hostname to see if it would populate and it won't.

any ideas?

Thanks,

stillabeginr

View 2 Replies View Related

Linking 2 Fields From 2 Separate Table.

May 11, 2005

Hi.. Junior access user here. Need help fast!

I created 2 tables. [General Info] & [Details]

[General Info] has 2 fields. Name(is a primary Key as well) & Organisation

[Details] has 4 fields. Primary Key, Name, No of products & Type

[Details] is a sub form for [General Info]

It is a one to many relationship. With Name from [General Info] linking to Name from [Details].

I can update via the table directly and [Details] links the name fields automatically. I created a form but the form just cannot register the field automatically and requires the user to type in the Name from [General Info].

I have attached the DB file. Pls help... your help is greatly appreciated!

View 3 Replies View Related

Linking Fields Between A Query And Table?

Sep 12, 2014

In query design view, I have added a query with column (nameA) of names and a table with a column (nameB) of names. I am linking these two fields (nameA and nameB) which contain names. The names are spelled exactly the same so I should get results. Both fields are of the same data type.

But even when I add only the field with names from the query (the field called nameA), I don't get any results.

What is wrong here? Are there restrictions about linking a query to a table?

View 3 Replies View Related

Linking Table Date Fields By Month

Apr 2, 2008

Hello,

I have a database design problem that I cannot wrap my head around. There are three tables roughly like this:


tblUsers tblAccuracy tblRecords
----- --------- -------
UserID UserID UserID
Name MonthYear Date
... Accuracy NoOfRecords


tblUsers and tblRecords are joined by UserID (Text) in a one-to-many relationship.

tblUsers and tblAccuracy are joined by UserID (Text) in a one-to-many relationship.

tblAccuracy stores User accuracies on a monthly basis where [MonthYear] is a Date/Time column formatted to "mmm yyyy" with each entry being the first of each month (eg. 01/01/2008 to display Jan 2008)

tblRecords stores [NoOfRecords] on a daily basis for each [UserID] where tblRecords.[Date] is a Date/Time column.

---

The problem is that I need a way to query these tables to return a [UserID] from tblUsers, the list of all records entered by that [UserID] for a given month on a daily basis from tblRecords and a single [Accuracy] figure for that [UserID], for that [MonthYear] from tblAccuracy.

tblAccuracy and tblRecords have no primary keys and I'm not sure how to normalize them, or if it is even possible. [MonthYear] is stored eg. as 01/01/2008 for January and [Date] has many records for January and I don't know how to relate them.

I hope someone here can help :S

View 2 Replies View Related

Linking Form Fields To Table Data

Jun 14, 2005

Hi Guys,
Haven't done anything with Access since I finished uni and I can't remember much. I'm trying to set up a simple database with customer recording and order taking functionality. Just in the very early stages trying to get basic things working.

I have a form where you enter customer details..at the bottom there is a command button named "Place Order", which will be clicked to go to the order form for that customer. Attachement shows very simplified version of the order form. I need to enter a Product ID, and have the Product Name automatically extracted from the Products table.

How can I do this? I would have done a search...but not even sure what this process is called in Access.
Thanks for any help.

View 1 Replies View Related

Help With Linking Calculated Fields To Table Values

Aug 28, 2006

I need to display a value from a table in a text field on a form based on another text field on the same form.

The table has records as follows:

Month/Year xx Month No xx Year No xx Month ID (xx shows break in columns)
Jan-06 xx 1 xx 2006 xx 24
Feb-06 xx 2 xx 2006 xx 25
Mar-06 xx 3 xx 2006 xx 26
Apr-06 xx 4 xx 2006 xx 27
May-06 xx 5 xx 2006 xx 28
Jun-06 xx 6 xx 2006 xx 29
Jul-06 xx 7 xx 2006 xx 30

In one text field I use the DateSerial function to calculate the value of the previous month (e.g.Jul-06). I need to return the MonthID value to the second text field based on the value stored against it is the table, so in case of Jul-06 it would show 30 in text field 2.

View 1 Replies View Related

Tables :: Lookups - Linking Two Fields In A Table

Jan 7, 2013

I am trying to link two fields in a table here is an example ....

Field A
Values stored could be....
AAA, BBB, CCC, DDD etc

LIST TO LOOK UP
AAA = UDC2
BBB = UDC1
CCC = UDC4
DDD = UDC3

Field B
Needs to lookup listi n Field A
and get correct UDC1, UDC2 etc...

View 3 Replies View Related

General :: Linking Access Forms And Fields To Word?

Nov 3, 2013

I am trying to take the data that is put into a form or report and export it to a certain document in word.

The user will be filling out a Reciept. On the form there will be a to and from box for them to fill out, along with many other options. Once the user enters in all the data required I want them to be able to click a button and it generate onto the attached file, in its perspective fields. Is there a way to match the documents to correspond to my program?

View 2 Replies View Related

Automatically Filling Linking Fields For New Rows In Related Table?

Dec 18, 2012

OK, so I have a database with four tables (Well, more than that, but these are the relevant ones). It's to be used for recording the results of site inspections.

"Tbl_Typicals" is a list of products. We'll call its key "Typical_ID".
"Tbl_Actions" is a list of tests performed on each product. A given product may have many tests, but each test applies to only one product. Its key is "Action_ID". Each row contains a Typical_ID to link on.
"Tbl_PlantComponents" records which products are installed on which site. Its key is "Component_ID". Each row contains a Typical_ID to link on.

The fourth table ("Tbl_Results") contains the results of each test. As a result of the relationships above, each row is specific to a single Action which applies to a particular PlantComponent, which is to say, each row has both a Component_ID and an Action_ID to link on.

So, what I need is a query that pulls all of these together, such that I can use these details as the line items of a subform.

The main form displays the details of the PlantComponent, which is a simple query to relate line items in Tbl_PlantComponents with the data about that particular product in Tbl_Typicals. So far, so easy.

The subform shows the details of each test applicable to that product. It then has toggle buttons and a comment field to indicate the results of the test, the results of which should be stored as a line item in Tbl_Results.

The "easy" way is to use an append query to generate Tbl_Results in advance. This works, but it raises a variety of new issues.

The nice way would be to use a normal SELECT query and have Access fill in the necessary linking fields (the Action_ID and Component_ID) on each row automatically. Now for trivial examples, this is very easy - my main form query manages just that: I created a link between Tbl_PlantComponents and Tbl_Comments (which stores general comments about each PlantComponent which aren't related to a specific test) based on the Component_ID and that works fine - when I edit the Comments field, the row is automatically created and the linked ID field filled in for me.

However, when I need to do it with 2 links, it all falls apart. I've tried everything I can think of, including generating a single-column unique ID to use for the link, but Access just won't autofill for me. It just makes those fields on the form (or in the datasheet view of the query) non-editable because there's no associated row in Tbl_Results. If I create a matching row in Tbl_Results the query works fine, but that's not the point.

Implementation of the query is non-trivial because it requires two outer joins involving 3 tables - All from Tbl_Actions to matching in Tbl_Results, and All from Tbl_PlantComponents to matching in Tbl_Actions. This necessiates splitting the query into two - the first relates Tbl_PlantComponents, Tbl_Typicals and Tbl_Actions (returning one row for each Action for every Component), and the second performs a single outer join (using an AND) between the first query and Tbl_Results.

View 5 Replies View Related

Access 97 And Table Linking Problem

Sep 19, 2005

Hello

When linking in a table under Access 97, any long integer fields are being converted to TEXT format. This I understand is due to the version of the Access database engine.

It does not happen in Access 2000.

Anyone have any idea's of how I can force access 97 to use the jet 4 engine installed already ?

( i have abused the registry - and it didnt like it at all )

tried service packs etc - not joy so far.

Anyone have any idea's ?

thanks in advance

View 2 Replies View Related

Linking Access Table To Outlook Calendar

Oct 26, 2004

Hello Guys,

I'm totaly new to access and outlook applications etc..
What I'm trying to do is link an access table to my calendar in outlook. I can do it but there is one problem it is not importing all the fields. But when I do an export from outlook to access database file all the fields are there.

Can someone help me with this issue?

P.S. I'm using outlook 2003 and connecting to exchange 2002.

Thank you for all the help I can get

View 2 Replies View Related

General :: Linking 2 Table Getting Hanged Access 2003

Sep 20, 2013

It is a simple linking based on one Column in Both the Table.The problem is One Table has "11 Lakh Rows other 2000 Rows"..Actually I am not sure weather the computer is getting hanged or Not as I wait for 10 min still when I am not able to see any update I End the access.

How can I know if it is working or hanged ? (errors like memory overflow will not come after I wait for an hour or so)

Can I use DLOOKUP instead of linking as I want it to be one on One link ?

View 2 Replies View Related

Linking Tables Within Access To A Linked Excel Table

May 16, 2012

I'm trying to use a template to track assets-specifically this template:URL....Is there a way I can link an excel doc to my database that provides all of my data, that is thereby linked to other tables within Access?I want my data to be updated as it is manipulated within the independent excel doc when I open access.

View 6 Replies View Related

Linking Excel Table In Access 2013 Causing Shut Down

Mar 27, 2014

I am trying to link an excel file (.xlsb) into Access 2013 running on Windows 8 (External Data-->Excel). It will first act like it's working, but it will just shut Access down after a couple seconds of churning and ask for a Backup to be created or it will restart (no rhyme or reason as to which you will get). I've tried a Compact and Repair. I've tried rebooting. I've tried renaming the excel file(although I have other files with the same naming convention linked), but no matter what I do, it will not accept it. I've tried doing just a straight Import....same results. This file, along with a others that are already linked in this database, are stored on a network server.

View 7 Replies View Related

Linking Fields

Oct 8, 2006

I am trying to create a table for an assignment on normalization. It is similar to the problem here : http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=88

I am trying to make it so that if a name appears in the Spouse, Child 1,2 or 3 column it will automatically appear in a dependants database with the EmpID and the Name of the Dependants, as separate objects so that the EmpID could be repeated. I have scoured info and I can't seem to make it work. Any help would be appreciated.

View 1 Replies View Related

Linking Fields

Dec 28, 2006

Good morning everyone:cool:

I was wondering if there is a way to link one field from a table to another table?

I have a main table that all of the data goes to and then a second table that the completed data goes to. I have made a query to show info from the main table and one field from the second table and it will only pull the info that is on both tables...i want it to tell me the info that is not on the second table:confused:

Sorry if this is confusing, but any help would be appreciated...thank you
Cori

View 5 Replies View Related

Linking Fields

Nov 10, 2007

I am fairly new to Access and i am trying to create a database that stores member's details and records the payments that they make monthly.

I have 2 tables:

Members:Id number
Fname
Sname
etc

and

Fees:
Id number
Fname
Sname
Amt paid Jan
Amt paid Feb
etc

What i want to happen is that any member's details entered in the members table also appears in the Fees table so that only the amout paid needs to be entered.

Is this possible?

View 5 Replies View Related

Can Map Certain Fields On New Access Table To Existing Access Table

May 14, 2013

I've imported an Excel file into Access as a textfile. All of the information on the Excel spreadsheet was successfully imported in Access. The only problem that I have is that some of the fields on the table have quotation marks (e.g. "Stults, David, "KWK, Inc.", "7,860.27", etc.) My first question is whether these quotation marks can be removed from the table.

My second question - There is information on this table that needs to be manually entered on a data entry screen in Access. Is there anyway to automate this process?

View 13 Replies View Related

Linking Fields On Form

Jun 26, 2006

Hi everyone,

Having a little problem, have searched the forums but have not been able to find an answer.

I have a single db with 3 tables, artist, gallery and arts.

The main form should show the work details for each artist, i.e. each piece of art they have done. The problem I have is I think I have a link or relationship problem as when I try to create a new record in the arts table, I have a combo box which populates the artist name and gallery name and it should then store these details in the arts table along with the rest of the details I enter but it doesn't.

Each table has an autonumber and there is a one-to-one relationship from arts to artist and arts to gallery.

Can anyone help?

View 4 Replies View Related

Linking Fields Within A Form

Feb 10, 2005

I would like to link 2 fields in a form. If I select data within one field with drop down list it should automatically bring up a name within the 2nd field. How would I be able to do this?

I've managed to lind the subforms to this drop down list which works brilliantly but this is a field within a form that I don't know how to link.

View 6 Replies View Related

Linking Fields In A Form!

Mar 2, 2005

Ok. I have used access before to hold data but have always accessed and used it via asp. I have never actually tried to use the access forms and queries! But for a current project i am having to use it.

So far its been fairly simple but im stuck on one point. I have one table that holds user info and has a foreign key from another table. On my form i want the user to be able to lookup the foreign keyes available. Only i want the lookup to show the description field in the other table not the unique id (primary key) but when they slect the relevant row its obviously need to record the primary key of the other table in the foreign key field in my user info table.

How can this be done? Im not sure if i explained this very well. If anyones unsure what i mean please ask my to clarify.

View 8 Replies View Related

Linking Two Date Fields

Aug 14, 2005

I have to date fields one called from and the other called to
suppose to look like this frm 07/05/05 to 07/05/05
what i want to do is when i type the date in the from field the same date will automatically appear in the to field
any ideas.

View 1 Replies View Related

Linking Fields In Forms

Nov 21, 2003

My question is this:
I have a form called Family with a RecID field. When I create a new record on this form the RecID field auto assigns a #. Then the user is supposed to click the command button which brings them to another form called Child. This Child form has the RecID field and another called RecChildID.
The RecID field is linked to the same RecID field as form the previous form. But when I enter the child form and start it's linked record the RecID field is not filling in/ copying over the same # as the previous form. How can I get it to update the RecID from the first form to the second form?
Thanks!

View 14 Replies View Related

Linking Two Fields From Two Different Tables

Jun 1, 2015

I have two different tables. Table1 contains information such as the name of a patient, which is the primary key, date of birth etc (fields that will not change). Table2, linked by the subject id, contains information about tests that they may have gone through. A form has been made using these two tables, in which table1 is that main form, and table2 is a subform. I want to add a field in table2 called "CurrentAge", which will use the date of birth specified in table1, to calculate their current age, and would like it to be displayed in the subform.

View 9 Replies View Related

SUbform And Linking Primary Fields

Oct 12, 2005

At the moment i have an exisiting database that was not created by me. It consits of about 7 tables and a main table. Each table has a Primary Key that is a joining field. The Main form is built with subforms and when i enter a number in the primary key filed of the main table it enters that number in all the other primary keys in the other subforms.
i have now tried to create another subform to put into the main form but i cannot get this "link" between the primary fields to work.
can someone please help.

View 1 Replies View Related







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