Are you saying the select statement is in your ini file? If so, you just broke the ini standard. You need to read a value from your ini file and then do the logic in your kix script.

Sorry if I misunderstood.