if {table1.id} <> 1 then var1 := "Hello"; else var1 := "Bye";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)