Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


fabrizio carboni
2022-01-28T08:13:18Z
Hi all,
I've one excel sheet with custom formattation, I need to set the value in a specific range (ex: B5:G10) my sorce are one sql that retreive exactly 6 record with 6 fields.
can I do this with Cron?
I found the tasks Office/Excell/Set Cell but I don't understand how to set the source from sql and where I need to specific where I want to put the results value
Sponsor
Forum information
Support
2022-01-28T09:56:17Z
Originally Posted by: fabrizio carboni 

Hi all,
I've one excel sheet with custom formattation, I need to set the value in a specific range (ex: B5:G10) my sorce are one sql that retreive exactly 6 record with 6 fields.
can I do this with Cron?
I found the tasks Office/Excell/Set Cell but I don't understand how to set the source from sql and where I need to specific where I want to put the results value



Hi Fabrizio,

You would need to use variables as the source. There are various SQL variables and the PrevTask Std out variable you can use to fetch the output of the sql query. Have you taken a look at the variables?
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
fabrizio carboni
2022-01-28T10:42:51Z
Hi Michael,
yes I know the {TASK(PrevTask|StdOut)} , I had already tried whit out result, this morning I looking for the problem and I found that the solution was on SQL connection.

SO, to answare at my thread post:

  • create one SQL task with output Standard
  • create on task Office Excel - Set cell and
  • in the source Tab insert {TASK(PrevTask|StdOut)}
  • in the Target Tab set Cell coordinates ( as you prefere by position or by reference)


thank
fabrizio
Support
2022-03-09T16:12:37Z
Originally Posted by: fabrizio carboni 

Hi Michael,
yes I know the {TASK(PrevTask|StdOut)} , I had already tried whit out result, this morning I looking for the problem and I found that the solution was on SQL connection.

SO, to answare at my thread post:

  • create one SQL task with output Standard
  • create on task Office Excel - Set cell and
  • in the source Tab insert {TASK(PrevTask|StdOut)}
  • in the Target Tab set Cell coordinates ( as you prefere by position or by reference)


thank
fabrizio



Thank you for the information, and i'm glad you found the solution!

Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
Scroll to Top