title: Retrieve information using Barcode EAN128
body: <p>I have a requirement to make some data retrieval using barcode EAN128. </p>
  
  <p>In form there must be 2 controls; the first is <code>itemId</code> and 2nd is <code>nameAlias</code>, both from <code>inventTable</code>. My issue is that when user will scan the <code>itemId</code> it must retrieve the <code>nameAlias</code> too in the second control. So for that I made two display methods in my table which I'm using as datasource.</p>
  
  <p>I dragged those methods into my form's design.</p>
  
  <p>This is the first control's code:</p>
  
  <pre><code>public display BarcodeString myB()
  {
    Barcode barcode;
    InventTable inv;
    ;
    barcode = Barcode::construct(BarcodeType::EAN128);
    barcode.string(true, inv.ItemId);
    barcode.encode();
  
    return barcode.barcodeStr();
  }
  </code></pre>
  
  <p>This is code for the second control, which must retrieve the nameAlias</p>
  
  <pre><code>Public display ItemNameAlias qty()
  {
    return InventTable::find(this.myB()).NameAlias;
  }
  </code></pre>
  
  <p>Thanks in advance for the help.</p>