>Hi Dmitry.
>
>>I think I got it. The SFQuery looks at the value in the Value property of the control.
>
>Look at the code in SFGetCondition.cmdOK.Click. There's a CASE statement where it decides how to get the value from the control: using a custom method name specified in cGetMethod, using a GetValue method, using a cExpression property, or using the Value property. So you have lots of choices there.
>
>Doug
Hi Doug,
By going through the code with the debugger I did see the values of cGetMethod and others. But I could not figure out how to use them, In the end I figured that all I need to do is to add properties Value and DisplayValue to my container class. And your code uses the values from these properties. It only took me like 3 hours to figure it out :).
Your SFQuery (even though it must be outdated) is tremendous!. Thank you for the great product and this input.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham