> OK, a couple of things. First, I goofed on the name of the method; >it should be either 'setWhereClause()' or 'addWhere()'. The former is >used when you want to override the existing WHERE clause; the latter >when you want to append another condition to the WHERE clause.
Well, I should have caught this myself; I had been calling it correctly in earlier attempts. > This is part of the bizobj setup, which only need be done once, >along with all the addField(), etc., calls. The setParams(), though, >is something that needs to be called when you are about to requery; >this sets the params to the current value that we want to search for. >Setting it when you set up the bizobj doesn't mean anything, because >even if the textbox had been instantiated (it won't), it would be empty. As I had suspected; I was just floundering around. > I've modified your code to correct these problems; it follows my >sig. Try this and let me know how it goes. YES! It works! It acts on the grid and textbox at the same time. I gather if I wanted to keep them independent, I'd have to resort to two separate biz objects, one to control the grid and one for the textbox? Thanks for all your help! Ken -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.6/708 - Release Date: 3/2/2007 4:19 PM _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
