On Wed, Nov 9, 2011 at 3:30 PM, PARVINDER RAJPUT <m...@parvinder.co.in> wrote: > > colform collect = session_.find<form>("where dat like > ?").bind("%"+nameEdit_->text()+"%").orderBy("dat"); > > for (colform::const_iterator i = > collect.begin(); i != collect.end(); ++i) > > msg((*i)->store);
<snip> > Here is my complete code > > http://paste.ubuntu.com/732818/ I tried your code, and found this program gives "Commutative output", i.e if your data has one record for "foo" and one for "zoo", then on searching 1st with foo, it give correct output, but if then I search for zoo, it showed output for foo as well as for zoo, in place showing it only for zoo i.e. two record in place on one. It keep on adding current output with previous one, which you don't want :-( But unfortunately I could find the reason for this. -- H.S.Rai ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest