Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4981 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

Posted

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.

  • 2 weeks later...
  • Newbies
Posted

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.

Posted

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.

This topic is 4981 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.