Hi
I have a requirement to use IN operator in Constraints of Transformer.
Can we use this?
Eg:
ID In (1,2,3,4)
I could not find IN operator in Transformer.
in operator in Transformer
Moderators: chulett, rschirm, roy
Re: in operator in Transformer
That's because there isn't one ... a simple search here would show this topic discussed many times over. You can use the Index function to get the results you need.Nagac wrote:I could not find IN operator in Transformer.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Is your Search function broken?
Assuming that the value being sought is a single character called TheCode then a suitable expression would be
Assuming that the value being sought is a single character called TheCode then a suitable expression would be
Code: Select all
Index("1234", InLink.TheCode, 1)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.