Results 1 to 4 of 4
  1. #1
    hatmal is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    13

    how do it dlookup

    hi




    ay help to do this

    dlookup value from query sum

    when inter data in data Query
    Attached Files Attached Files

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,746

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,972
    Fix syntax, use concatenation, field references are backwards, text field parameters need apostrophe delimiters.

    DLookUp("sumofCount", "sum", "[code1]='" & [code] & "' And [fin_years]='" & [fin_year] & "'")

    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.

  4. #4
    hatmal is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    13
    thanks

    june7

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

Similar Threads

  1. Shortening if / dlookup >0 / then dlookup
    By Jack Russel in forum Modules
    Replies: 1
    Last Post: 02-19-2016, 03:01 PM
  2. Using a DLOOKUP
    By derek7467 in forum Access
    Replies: 9
    Last Post: 02-20-2014, 04:07 PM
  3. You could use (DLookup) instead of (IIf)
    By azhar2006 in forum Queries
    Replies: 7
    Last Post: 02-11-2014, 12:45 PM
  4. Dlookup
    By cbrsix in forum Forms
    Replies: 6
    Last Post: 11-01-2011, 10:38 AM
  5. DLookup Help
    By Alex Motilal in forum Queries
    Replies: 3
    Last Post: 01-17-2011, 02:01 PM

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