I am having a slight problem with using the Make Feature Layer tool in ModelBuilder.
Basically I have a file geodatabase of points. I am trying to make a model to pull out points according to a reference field value. I could just make the expression for the tool a variable but unfortunately the users who are going to use it are to dense to create a simple SQL statement.
I have created a model String variable (VRefNo) to take the reference number (Its alphanumeric hence the string. The column in the geodatabase is also a string) and tried to parse it in the usual way to the expression:
"RefNo" = '%VRefNo%'
and all the other variables are hard coded. I have made the variable a model parameter and checked the add to display check box for the output and made sure nothing is intermediate (There is only one tool in the model and thats it).
The model runs ok with no errors but I am not getting an output.
I can get the select tool to work in ModelBuilder when run from the toolbox only when I make the output a model parametre. That's all nice but I only want to save the results temporarily to memory (in_memory) and would prefer the user not having the option to change this.
I would make a python script to do it but all the clients dont have python installed on their machines.