Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

field data

ResolvedVersion 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.

Access tip:

Relationship maps

It is important to create proper relationships between tables. You can use Access to help check your designs and evaluate them by printing them in graphical format to help with design purposes


Click on the Tools menu, click Relationships.
On the File menu, click Print Relationships. View or print as required

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.