On Thu, Nov 10, 2011 at 9:38 AM, Mohammed Rashad
<mohammedrasha...@gmail.com> wrote:
> clear the previous search results when you click "Find" button
> In your code msg is the result storing variable set msg to blank on clicking
> find
> msg = "" must be the first line on find click function


I have put to store = " ";
But problem is remain unsolved.

    try {

               Transaction tt(session_);
store="";
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);


                        tt.commit();
                      } catch (...) {}
}
-- 
Parvinder Rajput
website:- www.parvinder.co.in

------------------------------------------------------------------------------
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

Reply via email to