Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Jul 2003
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    DLookup and If function (1.1)

    I was wondering what the limitations were with Access for putting together complex functions. For example, in excel I have an If Then statement with 3 vlookups in it. Is it possible to have this same if then statement in access and use the dlookup function as opposed to the vlookup. Thanks for your help

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

    Re: DLookup and If function (1.1)

    I don't know if there is a limit, but you can nest functions at least 10 levels deep in Access. Use IIf if you want to use If in a query or expression: IIf(condition;result_if_true;result_if_false). In Visual Basic it is better to use If ... Then ... Else ...

  3. #3
    New Lounger
    Join Date
    Jul 2003
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: DLookup and If function (1.1)

    thanks for your help

Posting Permissions

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