title: Adding view/temporary table records to Form Grid
body: <p>I am dynamically creating a form through x++.
  I want to represent a datasource into 2 or more grids, depending on the number of instances of a certain field. Am looking for something like the one below but am able to use different instances of the datasource, defined by a range query or some sort.</p>
  
  <pre><code>formString = formBuildGridControl.addDataField(formBuildDatasource.id(), fieldNum(SomeTable, SomeField));
  </code></pre>
  
  <p>I also have these codes:</p>
  
  <pre><code>fds = formRun.dataSource();
  qbds = fds.query().dataSourceTable(TableNum(SomeTable));
  qbr = Qbds.addRange(fieldnum(SomeTable, SomeField));
  qbr.value(SomeValue);
  </code></pre>
  
  <p>However it affects all the grids. Is there something I can use to define each grids differently where the above code has a different <code>SomeValue</code> for each grid?</p>