Normal Topic Looking up info based on two elements (Read 355 times)
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Looking up info based on two elements
Apr 18th, 2014 at 5:43pm
Print Post Print Post  
I need to look up some data from another file in sesame based on two elements in that file. 

For example, from one file I'll have a lot number that I want to look up in another file as LOTNO.  However, there may be duplicate LOTNO records for different material numbers (MATNO).  So I need to be able to find the record that matches LOTNO and MATNO, then select the data I need.

Is there a way to do this?  Please advise ASAP as this is a hot project for my company.

Thanks!

Paul
  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Looking up info based on two elements
Reply #1 - Apr 18th, 2014 at 7:03pm
Print Post Print Post  
@XResultSetSearch would be your best (most efficient) option.

Alternatively, you could use @XLookupSourceListAll and then filter out results that do not match your secondary criteria.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged