title: Oracle Forms - EXECUTE_QUERY not working
body: <p>I am trying to create a button which does exactly the same work of 'execute query' button in the smart bar.   </p>
  
  <p>Below are the steps I tried, but isnt working. Please tell me what am I doing wrong.
  I am creating a simple form using Oracle XE Express Edition 11g and Oracle Forms 10g.</p>
  
  <p>This is a very simple form that displays employee details (Form).
  I created a button 'Display', which when pressed, calls <code>execute_query;</code></p>
  
  <p>When I clicked display button, it gives:</p>
  
  <blockquote>
    <p>FRM:40202 : Field must be entered.</p>
  </blockquote>
  
  <p>Additionally the cursor is blinking in the Employee ID field.  The 'Execute Query' button in the 'Smart Bar' works fine.</p>
  
  <p>Could you please show me how to make it work?</p>