I have a search page in an app that I'm working on that uses the addWhere bizobj method to build a query (MySQL backend). Everything works great until I manage to run a query that returns no records. Then, a message box pops up titled "Requery Not Allowed" with the message "no records in dataset". Hitting the OK button causes a poor repaint of the form (a remnant of the message box is displayed on top of my form) then it appears that the entire dataset is requeried. If I then try to do another search that uses addWhere, the program becomes non-responsive and I have to hit a Ctrl-C on the command line to get out. So, my question is: How can I wrap that error so I don't lock up my program? Also, why should a query that returns zero records cause a lock up in the first place? Possibly I have a basic design flaw.
Thanks, Steve Rose --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ 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]
