vlookup

eran185

Registered User.
Local time
Today, 12:02
Joined
May 11, 2007
Messages
55
hi
in excel there is the function - vlookup.
i need to do something like vlookup in the att. file
1-i want to see the details of the car when i give the id
2- i want to see the details of the car in a summarizing table that contain all the details

:(
 

Attachments

What you need is a select query that takes both tables and joins them on [number plate].
 
i'm "fresh" in access - could u explain me how can i do this thing ??
 
Open the queries view in the database window and use the query wizard. Post back here with any problems.
 
problem - vlookup

hi
i build the query , but the problem is that i saw only the lines that has same id.
i want to see also the cars that not match (like in the excel , to get #name)

what can i do ?
 
When you join two tables in Access, it defaults to an inner join (type 1 join in Access terms). This, as you have found, returns data only when there are matching records on both sides. If you right click the join line in the query you have the choice of join types. The other two options are left (number 2) and right (number 3). Depneding on which way round your tables are positioned, chose the correct one of these to give you all the data from one table and the data from the other table that matches.
 

Users who are viewing this thread

Back
Top Bottom