jibe Messages: 294 Registered: February 2007 Location: France
Experienced Member
Hi BioBytes,
Thanks for your kind and efficient help !
Reading your sample, I finally made this :
where = (SqlId)(~field) == ~val;
This works well Finally, the solution was only to cast to the right type !!!
However, I see that you use switch/case to choose the condition. It seems a heavy solution ! Does somebody knows a better way to do that ? Seems better to have :
where = (SqlId)(~field) COND ~val;
where COND is ==, !=; <, > etc. But what type should be COND so that it works ?