Results 1 to 3 of 3
  1. #1
    5 Star Lounger
    Join Date
    Jan 2005
    Posts
    614
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Value -1 instead of Text (Access2000-03)

    Trying to extract field from the datatype text field
    Status: (IIf([STATUS_CODE]='010',"Open",[STATUS_CODE]) Or IIf([STATUS_CODE]='100',"Hold",[STATUS_CODE]))

    Getting -1 value.
    Please, look this up.
    I had tried to change datatypes but no avail.

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

    Re: Value -1 instead of Text (Access2000-03)

    Try

    Status: IIf([STATUS_CODE]='010',"Open",IIf([STATUS_CODE]='100',"Hold",[STATUS_CODE]))

  3. #3
    5 Star Lounger
    Join Date
    Jan 2005
    Posts
    614
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Value -1 instead of Text (Access2000-03)

    Hooray! Thanks

Posting Permissions

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