field data
RH

Forum home » Delegate support and help forum » Microsoft Access Training and help » Field Data

Field Data

resolvedResolved · Medium Priority · Version 2003

Paul has attended:
Access Introduction course

Field Data

Hi,

If I have one table with a list of names and assign an individual number to each name (i.e. Steve = 1, Adam = 2, John = 3), is there a way, on a second table, to populate a field with the name when the corresponding number is entered?

Hope this makes sense?

Thanks

RE: Field Data

Hi Paul

Yes you can.

First set up your second table with the name ID and name field together with other fields eg department, startdate, etc.

Then create a query and link the two tables on the Name ID field.

Add all the fileds to the query grid from the second table apart from Name. Add the Name field from the first table (containing just Name ID and Name).

Then when you view the query try adding a new record.
The Name field is populated automatically after choosing a name ID.

The same result can be achieved with form instead of a query but you will need to link the tables with Database Tools, Relationships. Then using the Form Wizard choose all the fields from the second trable and the Name field from your first table.

Heres's an example if you need it.

Hope that helps and can be applied.

Regards
Doug Dunn
Best STL

Attached files...

Database1.zip

Mon 24 Jun 2013: Automatically marked as resolved.

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Access tip:

Hiding Multiple Table columns

If you want to hide non-adjacent Access table columns. In Datasheet view, open the table that contains the columns you want to hide.

On the Format menu, click Unhide Columns.
In the Unhide Columns dialog box, clear the check box next to the name of each column you want to hide.
Click Close.

This method makes having to use the Hide Columns command repeatedly unnecessary

View all Access hints and tips


Server loaded in 0.06 secs.