AnsweredAssumed Answered

Modelbuilder Arcgis: variable/parameter with odd number and even number

Question asked by gus654 on Apr 4, 2017

Hi, I'm working with Modelbuilder in Arcgis 

I'm looking for a request for the tools select by attribute.

I'm creating a variable that will contain civic number for an adress, 

the following civic number will be chosen in the tools in the parameter, 

but I need to select a differente field if this number is a even or odd number. 

I would like to create a request that look like:

 %variable% = ODD number AND   mod([Field],2) = 0

But i cannot use  mod([Field],2) = 0 for my variable since it not a field but a variable 

I just wanna know if there is a way to make a selection when my variable is also a ODD number

And how do I write it down?!?