Results 1 to 2 of 2
  1. #1
    Lounger
    Join Date
    Aug 2002
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts

    DLookUp (Access 2000)

    I need a help with the DLookup function. The control in my form has a DLook function
    to look up the value from the table TblOrderDate, the field OrderDate, where ID = 1
    ID is the autonumber in the table.
    The control source has the following line

    DLookUp("OrderDate", "tblOrderDate", "ID=1")
    However, i receive the question Name ?, which obviously is an error

    What is wrong with my code ?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: DLookUp (Access 2000)

    A control source with a calculation must begin with an = sign:

    =DLookUp("OrderDate", "tblOrderDate", "ID=1")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •