Easy Selection

Post new topic   Reply to topic

View previous topic View next topic Go down

Easy Selection

Post  Robin on Wed Sep 03, 2008 10:14 pm

Well, by easy selection, I mean a search function out of another table.

Im going to tell you how to do it with 2 tables, so you need to create these;

- Persons [Firstname/Lastname/Country]
- Country [Country]

* Table name [names it should contain]

now we gonna open the country table and add some country's in it;

Code:
Holland
Germany
Belgium
England
France


well everything is done in this table now close it and open the table for persons in design mode. (right click the table and you will see how to get in design mode)
Select the Country row and look in the bottom you should see searching.. click on it, now you should be able to click on selection list.
then you have to insert this into "RowSource" SELECT Country.Country FROM Country;
it means it has to show you everything from the Table "Country" and Items in "Country" so it would show us the country's we added in this table.
Close and save.

now if you open ure Persons table you will have this function:



goodluck and have fun. pirat

Robin
Moderator
Moderator

Number of posts: 11
Age: 18
Location: Holland
Registration date: 2008-08-31

View user profile

Back to top Go down

View previous topic View next topic Back to top


Permissions of this forum:
You cannot reply to topics in this forum