DLookup Compared to Recordsets

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it correct to use DLookup only when you need a specific value and use
recordsets when you need to manipulated the data (update a record, etc.)?
 
Yes, you usually use the DlookUp when you want to retrieve a value of one
field from one record, and recordSet when more then one record involved.
There some points of difference between reordset and dlookup

RecordSet
1. Can be updated
2. Retrieve more then one record, and have the ability to move between records
3. Can bring all the fields in the record
4. Can't be used as a source of a field in a Form/Report/Query

DlookUp
1. Can't update
2. Retrive only one record
3. Usually used to bring the value of one field
4. Can be used as the source of a field in a Form/Report/Query
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top