Results 1 to 2 of 2
  1. #1
    BRV is offline Novice
    Windows XP Access 2007
    Join Date
    Oct 2011
    Posts
    29

    Select Case vs Dlookup

    Hey there. I'm pretty new and asking questions as I learn.

    I'm trying to decipher if using Select Case would be a valid alternative to Dlookup where one wanted to compare a variable to a field in a set of records and access which record best matched it?

    (I hope I said that right)

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,815
    Can't use DLookup on a virtual recordset, only directly on table or saved Access query.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Select Case using query field
    By focosi in forum Programming
    Replies: 4
    Last Post: 08-15-2011, 11:00 AM
  2. Help with Select Case statement
    By focosi in forum Access
    Replies: 4
    Last Post: 08-09-2011, 12:01 AM
  3. VBA "Select Case" Troubles
    By Dalagrath in forum Programming
    Replies: 14
    Last Post: 08-04-2011, 11:38 PM
  4. Replies: 3
    Last Post: 05-06-2011, 02:49 PM
  5. ComboBox "Select" and "DLookUp"
    By witooldas in forum Forms
    Replies: 0
    Last Post: 03-23-2011, 03:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums