Solved

Input Translation Question

Posted on 2008-10-06
3
575 Views
Last Modified: 2013-12-18
I have 2 fields on a form:

Field 1  is called "Current"
Field 2 is called "Remove"

Both of these are multi value dialog lists

I need to create an input translation formula that will do the following:

If a value in "Remove" is not contained in "Current" then it will remove this value from "Remove"

I see that a listbox will do this automatically anyway, but I'd really like to keep this field as a dialog list.

I was thinking something along the lines of:

@if(!@ismember...
@replace...

but I can't get this to work.

Any ideas/suggestions greatly appreciated!
0
Comment
Question by:shuboarder
  • 2
3 Comments
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 250 total points
ID: 22650401
If a value in "Remove" is not contained in "Current" then it will remove this value from "Remove"

superfluous:= @Trim(@Replace(Remove; Current; ""));
reduced:= @Trim(@Replace(Remove; superfluous; ""));

Field Remove:= reduced

Something along these lines...
0
 
LVL 21

Author Comment

by:shuboarder
ID: 22651251
Perfect!
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 22651384
:-))
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question