@fluxhub/fluxhub-lib 10.0.318 → 10.0.320

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8723,15 +8723,18 @@ class FHGridComponent {
8723
8723
  if (this.fields.indexOf("DISTINCT") != -1)
8724
8724
  str_fields = "DISTINCT " + str_fields;
8725
8725
  cmds.push(this.officeService.operation("GB_XLS_APRI", "tpl_report.xlsx", "" + this.uiid_stampa + ".xlsx", this.xxopx++));
8726
+ let opx = 'GB_CREA_TABELLA_FROM_DB';
8727
+ if (this.system_dest == 2)
8728
+ opx = 'GB_CREA_TABELLA_FROM_DB1';
8726
8729
  if (this.export_field_aggiuntivi == '')
8727
- cmds.push(this.officeService.operation("GB_CREA_TABELLA_FROM_DB", "select " +
8730
+ cmds.push(this.officeService.operation(opx, "select " +
8728
8731
  str_fields +
8729
8732
  " from " +
8730
8733
  this.tbl_name +
8731
8734
  " " +
8732
8735
  this.str_curr_q_p, "3", this.xxopx++));
8733
8736
  else
8734
- cmds.push(this.officeService.operation("GB_CREA_TABELLA_FROM_DB", "select " +
8737
+ cmds.push(this.officeService.operation(opx, "select " +
8735
8738
  str_fields + ',' + this.export_field_aggiuntivi +
8736
8739
  " from " +
8737
8740
  this.tbl_name +