May 20, 201114 yr I have been digging through help and cannot find the answer to this - When using the Get(SystemNICAddress) calc, what happens if the machine has TWO network cards, or one hardwire and one wireless? Suppose both are active? or the machine is a laptop and sometimes uses the hardwire, and sometimes the wireless? IS there a way to specifiy WHICH nic to get, or somehow get ALL nic addresses?
May 20, 201114 yr If there are more than one, it gets both (return-delimited). I don't know about the order in which it gets the path. You could use GetValue ( ) and ValueCount ( ) to get the last value in the list.
June 1, 201114 yr Newbies If you want the first address listed, try Left ( Get ( SystemNICAddress ) ; 17 ). If you want the second address listed, try Right ( Get ( SystemNICAddress ) ; 17 ). Or, if you want to check either NIC, you can do something like (PatternCount((Get(SystemNICAddress));YOURFIELD))=1 where "your field" is whatever you want to check the NIC against. Basically this is saying, if ANYTHING in the ( Get ( SystemNICAddress ) matches yourfield, then true/pass the test.
June 1, 201114 yr Won't Left ( ) fail if the value isn't 17 characters? Since it's a return-delimited list, simply use GetValue ( ValueCount ( Get ( SystemNICAddress) ) ) to grab the last value in the list.
Create an account or sign in to comment