On Friday 05 September 2008 10:34:49 am Ed Leafe wrote: > On Sep 5, 2008, at 12:29 PM, johnf wrote: > > No where in my code am I using "bizobj.SQL". However, I am using > > bizobj.UserSQL and bizobj.setSQL all over the place. > > Then why would you ever expect setWhereClause() to work? > > The reason that setSQL() didn't affect your AutoSQL is because all it > did is assign to the formerly dead SQL property, which was *never > used*. Now that it does what it was supposed to do, it actually uses > the SQL you set, and AutoSQL stuff, such as setWhereClause(), is now > being properly ignored. > > > -- Ed Leafe
When I said bizobj I mean different bizobj's. I have classes that use the somediffBizobj.UserSQL and againAdiffBizobj.setSQL. IOW the bizobj I'm using the setWhereClause() on has little to nothing to do with the other code. I just answered your question if I had "bizobj.SQL" anywhere in my code. The answer is negative I do not use that string. And in fact I doubt the setSQL and the UserSQL are being used - they just happen to be in the class. I'm guess you mis-understood. -- John Fabiani _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
