Ruslan, if I have Table A: x y z I want to do this: cursor=select z from A where y<z but it doesn't work. I can make it work if I define a BO Method that compares y to z, but is that the only/best way? Best Regards, Steven Send instant messages to your online friends http://au.messenger.yahoo.com