Results 1 to 3 of 3
  1. #1
    rkalapura is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2011
    Location
    New York
    Posts
    69

    Help for Dlookup() Numeric Data

    Can Anyone help me in the following (Access 2010):

    1. Dlookup("[KIT ID]", "[TOOLS]", "[BTN NO1] = "&[BTN SERNO])
    2. Dlookup(("[KIT ID]", "[TOOLS]", "[BTN NO2] = "&[BTN SERNO])
    3. Dlookup("[KIT ID]", "[TOOLS]", "[BTN NO1] = "&[BTN SERNO] or "[BTN NO2] = "&[BTN SERNO])

    No.1 and No.2 is working fine. But No.3 when combining with "or" is not working. Where I am going wrong?



    Note: Data Types [BTN NO1], [BTN NO.2] AND [BTN SERNO] Fields are Numbers.

    Thank you in advance for your help.
    Best regards

  2. #2
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    "&[BTN SERNO] & " or [BTN NO2]="

  3. #3
    rkalapura is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2011
    Location
    New York
    Posts
    69
    Thank you very much for your help. That works like a champ!
    Best regards

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

Similar Threads

  1. Numeric overflow
    By slimjen in forum Forms
    Replies: 10
    Last Post: 10-19-2011, 01:26 PM
  2. Numeric vs. Text
    By Niki in forum Access
    Replies: 4
    Last Post: 06-10-2011, 01:28 AM
  3. Split Numeric Data out of Irregular Text Field
    By nathanielban in forum Queries
    Replies: 6
    Last Post: 12-21-2010, 10:30 AM
  4. How to reference data without using Dlookup()
    By HunterEngineeringCoop in forum Programming
    Replies: 7
    Last Post: 12-01-2010, 09:22 AM
  5. Creating a Flat File with Signed Numeric Data Fields
    By two_smooth in forum Database Design
    Replies: 2
    Last Post: 10-27-2010, 08:31 AM

Tags for this Thread

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