@fluxhub/fluxhub-lib 1.0.565 → 1.0.566

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.
@@ -7781,7 +7781,10 @@
7781
7781
  if (this.fields.indexOf('DISTINCT') != -1)
7782
7782
  str_fields = 'DISTINCT ' + str_fields;
7783
7783
  cmds.push(this.officeService.operation("GB_XLS_APRI", "tpl_report.xlsx", "" + this.uiid_stampa + ".xlsx", this.xxopx++));
7784
- cmds.push(this.officeService.operation("GB_CREA_TABELLA_FROM_DB", "select " + str_fields + " from " + this.tbl_name + " " + this.str_curr_q_p, "3", this.xxopx++));
7784
+ if (this.system_dest != 2)
7785
+ cmds.push(this.officeService.operation("GB_CREA_TABELLA_FROM_DB", "select " + str_fields + " from " + this.tbl_name + " " + this.str_curr_q_p, "3", this.xxopx++));
7786
+ else
7787
+ cmds.push(this.officeService.operation("GB_CREA_TABELLA_FROM_DB1", "select " + str_fields + " from " + this.tbl_name + " " + this.str_curr_q_p, "3", this.xxopx++));
7785
7788
  cmds.push(this.officeService.operation("GB_XLS_SAVE", this.m_appService.LOCAL_PATH + "grid_reports\\" + this.uiid_stampa + "_" + this.m_appService.user + format, "", this.xxopx++));
7786
7789
  this.officeService.runCommands(this.uiid_stampa, cmds, this.dialogRef_W).subscribe((/**
7787
7790
  * @param {?} data