Topics Search

Removing a lookup field from a table

Removing a lookup field from a table
Views: 1
I'm working in Access 2010. This is essentially an HR database intended to track training and job postings. I used a lookup in my Postings table to identify type of posting, eg. incumbent, relief1, relief2.

I want to print a report that lists employees down the left and shows their posted positions under the relevant "type."
Sponsored Links:

More topics

 

Lookup for a field using only unique values.

Preview
How can I set a field in a table as a lookup, but only get the unique values from the table that is being looked up?

For instance say I have a table that consists of three fields, A, B and C as below.

Table 1:

A B C
1 2 3
1 1 1
1 2 2

Now, say I create a new table with fields called X and Y, as below.

Table 2:
X Y

What I want to know is this:
If I make the X field in Table 2 a lookup of the B field in Table 1, how can I make the lookup return only the unique records in this field?
(I.e. The lookup in the X field of Table 2 would only show (2,1) and not (2,1,2).
 

Querys and Lookup fields

Preview
I have a table with multiple Lookup fields . I am trying the create an append query to copy data from this source table to another table.
From the fields that are lookups in the source, I end up with a number in that field in the target table, instead of text (I need text)
I've tried making that field in the target table a lookup field also, pointing to the same lookup table, but the query responds with an error about an INSERT INTO query cannot contain a multi-valued field. But I would really rather have text anyway.
How do I query text from a lookup field instead of the numerical value?
 

Use a lookup field to influence values in another field

Preview
I've been out of practise with using Access for a while,

Basically, I'm looking to create a table that holds event information. One of the fields I've successfully included is a Lookup function to pull info from a contacts table. This table also has statistics in it.

What I'd like to do on the events table is lookup a contact name in one field, and then in another field within the events table, pull over the relevant statistics based on my selection.

Now, I've been able to get the lookup to pull across of this already, but as far as I can tell, you're only able have one column displayed (bound) in the lookup - is this right?

If you've any suggestions I'
 

Insert Into vba help!

Preview
I have a form tied to a table. One of the fields in the form is a lookup field full of choices from another table.

When the user clicks Save and Next I need to save the form and then update a 3rd table with many values from the form. The issue I'm having is the syntax error when trying to insertthe data from the lookup field into another table (whose same column is the exact same lookup)

What it is expecting is the ID from that lookup field's table. I tested this by placing a random number (e.g. 22) and it will place the text in the table for that value.
 

Is a Lookup Field the same thing as a lookup table

Preview
From reading some of the threads, it's clear that Lookup Fields are not a good idea in tables.

I have found many resources online with examples of different databases and in one I am going through right now, there is one that has a People table (for both people and companies) and a Type table.

The Type table categorizes the type of relationship between the person/company in the People table and (presumably) the user/company keeping the database (relationships such as: Friend, Family, Professional, Auto, Hospital, Art Supply, etc).

**In the description for the Types table, there is a statement that says "The Types table is commonly referred to as a lookup table."**

My question is this: Is a Lookup Field the same thing as a lookup table, as described?
 

Use a lookup field to influence values in another field

Preview
I've been out of practise with using Access for a while, so this may seem a rookie question!

Basically, I'm looking to create a table that holds event information. One of the fields I've successfully included is a Lookup function to pull info from a contacts table. This table also has statistics in it.

What I'd like to do on the events table is lookup a contact name in one field, and then in another field within the events table, pull over the relevant statistics based on my selection.

Now, I've been able to get the lookup to pull across all of this already, but as far as I can tell, you're only able have one column displayed (bound) in the lookup - is this right?

If you've any suggestions I'd love to hear them. Please ask if you need any more info
 

Look up tables vs fields

Preview
Could someone look at the jpeg below, is this what I am NOT supposed to do? I admit I am still confused between lookup tables and lookup fields. The dropdown row on that table gets its values from another table whose sole purpose is to feed that field information, the lookup table has a linked relationship to this one. But I've read another post where he was doing what I did here and was told not to do it.

I guess I thought it was okay if the lookup field was bound to another table but may of misunderstood. I have read the often linked evil of lookup fields webpage but it didnt clarify my confusion
 

Can't copy into field after disable lookup feature

Preview
I'm very new to MS Access so maybe I mess up some term, but I'll try my best to explain what the problem is.

I have a DB with several tables in it. Some of fields in this tables are connected with other fields and they suppose to be filled with values from connected field. It's a lookup fields.
I need to copy data to these lookup fields from an excel file.
So I delete this connections at DB designer. Then at table designer I change field type from Lookup Field to Field at Lookup tab. And when I try to save these changes I get message saying that afeter saving this lookup field will be read only. And I really can't write anything in them.
Is there a way to put data to these lookup fields after I make them normal
 

Can't copy into field after disable lookup feature

Preview
I'm very new to MS Access so maybe I mess up some term, but I'll try my best to explain what the problem is.

I have a DB with several tables in it. Some of fields in this tables are connected with other fields and they suppose to be filled with values from connected field. It's a lookup fields.
I need to copy data to these lookup fields from an excel file.
So I delete this connections at DB designer. Then at table designer I change field type from Lookup Field to Field at Lookup tab. And when I try to save these changes I get message saying that afeter saving this lookup field will be read only. And I really can't write anything in them.
Is there a way to put data to these lookup fields after I make them normal
 

Add or change a lookup column

Preview
Sometimes, the value you want is tracked in another table. For instance, suppose you want to record the customer for an order in the Orders table. However, all customer information is tracked in the Customers table. You can create a lookup column that displays the customer information in a combo box or list box control. Then, when you select the customer in that control, an appropriate - such as the customer's primary key value - is stored in the order record.
This article explains what a lookup column is and how to create one.
In this article
* What is a lookup column?
* Create a lookup column in Datasheet view
* Create a lookup column by using the Field List pane
* Create a lookup column in Design view
* Understanding the bound value and the display value in a lookup column
* Introducing the Lookup field properties
* Using the Lookup Wizard
* Change a lookup column
* Change a field to a lookup column