HI,
What I think you might need to do is read in the CustomerID values using GetValues (like in line one below) from the JMP table and then insert that list into the SQL code (using IN operatori for the WHERE clause)..
custIDList = :CustID << GetValues;
This isn't complete code, but a little push in the right direction.
You would have to use a little JSL to insert the list into the SQL code, but at least this would get you only the infromation from the customers that have an ID in the Customer.JMP file. Then you can use Join within JMP to merge the two sets together.
Hope that helps,
Chris
Chris Kirchberg, M.S.2
Data Scientist, Life Sciences - Global Technical Enablement
JMP Statistical Discovery, LLC. - Denver, CO
Tel: +1-919-531-9927 ▪ Mobile: +1-303-378-7419 ▪ E-mail: chris.kirchberg@jmp.com
www.jmp.com