Solved

Input Translation Question

Posted on 2008-10-06
3
569 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now