access

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

TrustPilot

starstarstarstarstar Excellent

  • Home
  • Courses
  • Promotions
  • Schedule
  • Formats
  • Our Clients

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

Access

resolvedResolved · Low Priority · Version Standard

Hazel has attended:
Access Introduction course
Access Intermediate course

Access

does access have a facility similar to Vlookup in excel

RE: access

Hi Hazel

Thank you for your question

The closest function is DLookup, D standing for domain.

It finds a value maching specified criteria in a specified field in a specified table. It can be used in a macro, query or calculated control on a form or report.

It has the following parameters.

expr - The field value you wish to return

Domain - The table containing the field

Criteria - An expression that limits the data to be returned

an example would look something like this

DLookup("[ProductName]", "Products", "[SupplierName] = John")


Hope this is helps

Regards

Stephen


 

Access tip:

Deleting duplicate records from a table

You cannot delete records tables where there duplicate records. A way around this is to create a new table which wont hold the duplicates. and then deleting the old table.

1. Use a make-table query based on this table only. IMPORTANT - Ensure that you include all of the fields from your original table or you may loose data.

2. Open the query's property sheet by using VIEW, QUERY, PROPERTIES, and set the Unique Values property to Yes

3. Because you have selected the Unique Values to Yes when you run the query, Access creates a new table without duplicate records. You can now delete the old table and rename the new one.

View all Access hints and tips


Server loaded in 0.07 secs.