Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Sep 2006
    Posts
    166
    Thanks
    0
    Thanked 0 Times in 0 Posts

    If condition (Access 2000)

    To the existing If conditions i want to add the condition If IsNull(TglUnitPrice).
    The existing working conditions are as folllows If IsNull(Me!Quantity) And Me!cartons = 0 And Me.Parent!Customerid <> 123 Then
    I get the error in the following expression when i wnated to add the next if condition:
    If IsNull(Me!Quantity) And Me!cartons = 0 And Me.Parent!Customerid <> 123 And If IsNull(Me!TglUnitPtice) Then
    How can i correct it ?

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

    Re: If condition (Access 2000)

    You shouldn't repeat the word <big>If</big>. It must be used at the beginning of the instruction only.

Posting Permissions

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