Exemple #1
0
 public String Execute(InfoNavigator aInfoNavigator, bool executeSQL)
 {
     if (faq == null || !this.KeepCondition)
         faq = new frmAnyQuery(this, aInfoNavigator, executeSQL);
     faq.ValueControlEdit += new EventHandler(faq_ValueControlEdit);
     DialogResult dr = faq.ShowDialog();
     if (dr == DialogResult.Yes && faq.Where != String.Empty)
         return faq.Where;
     else
         return null;
 }
Exemple #2
0
 public String Execute()
 {
     if (faq == null || !this.KeepCondition)
         faq = new frmAnyQuery(this);
     faq.ValueControlEdit += new EventHandler(faq_ValueControlEdit);
     faq.AfterQuery += new AfterQueryEventHandler(faq_AfterQuery);
     DialogResult dr = faq.ShowDialog();
     if (dr == DialogResult.Yes && faq.Where != String.Empty)
     {
         return faq.Where;
     }
     else
         return null;
 }