title: use caption of pressed button from main form in query of other form
body: <p>My problem is: </p>
  
  <p>Main form has 9 command buttons and continuous subform. Click on some button open other form with text box for entering quantity and two command buttons. When click on the first button I want to use caption of pressed button from main form for query. How to get that button caption? </p>
  
  <p>Thanks. </p>