×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Please help find the bug

Please help find the bug

Please help find the bug

(OP)
Hi,

I have a simple formula that does not seem to work:

@If(RTransit = "80323";"07206";RTransit = "70207";"00275";@Trim(@LeftBack(Bill_To_Transit; 4))="9";"99999";"")

For the false case, RTransit shold be populated with blank "", but it never does.

However, if I change formula:

@If(RTransit = "80323";"07206";RTransit = "70207";"00275";@Trim(@LeftBack(Bill_To_Transit; 4))="9";"99999";"No")

Then "No" appears whenever false condition is met.

Please help.

Thanks

RE: Please help find the bug

I have found that once a field is populated with a value (I am using R5 and doing most of my work using the Web as my client), then I have to make the value " " (a space) rather than "" or it doesn't replace.  I don't know if this could be it?

RE: Please help find the bug

Can you tell us a bit more about how you are using this formula? Is the RTransit field editable or computed. Is it text or number? Are you doing a refresh fields in a keyword change option in another field somewhere on the form.

This additional info might help determine why the field is not updating.

Cheers!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close