Command Line : Parameters

Discussion of open issues, suggestions and bugs regarding database management and development tools for SQL Server
nusa
Posts: 18
Joined: Thu 02 Feb 2017 16:12

Re: Command Line : Parameters

Post by nusa » Mon 06 Mar 2017 11:02

Hi,

I upgrade my studio : V 5.4.27.

Code: Select all

------ Data report generation started ------


Retrieving data: Failed
Error: An error occurred while retrieving data: La variable scalaire "@TechId" d
oit être déclarée.


------ Data report generation finished ------
same problem :-(

Nusa

alexa

Re: Command Line : Parameters

Post by alexa » Mon 06 Mar 2017 11:30

Please use @Tech_Id instead of @TechId.

Also, please use the following command line string:

Code: Select all

C:\Program Files\Devart\dbForge Studio for SQL Server\dbforgesql.com" /datareport /reportfile:"C:\Reporting\DEV\ChargeTech\Chargetech.rdb" parameters Tech_Id:"1c4cc27f-232c-4d67-8cef-aff15c7d96aa" /format:pdf /result email:"[email protected]"
If this still doesn't work, please provide us the query that is used in the report.

Additionally, please run the GUI of dbForge and check that the latest build is successfully installed (select 'Help -> About...' from the main menu).

nusa
Posts: 18
Joined: Thu 02 Feb 2017 16:12

Re: Command Line : Parameters

Post by nusa » Mon 06 Mar 2017 13:02

My query :

Code: Select all

SELECT
  Ticket.Number
 ,Company.FirmName AS Client
 ,Ticket.Subject AS [Objet de la demande]
 ,[User].Username AS Demandeur
 ,[User].Email
 ,TicketTask.Title AS [Titre tâche]
 ,Ticket.RequestDate AS [Date de la demande]
 ,TicketTask.Logwork AS [Durée de la tâche]
 ,TicketTask.CreationDate AS [Date de la tâche]
 ,User_1.FirstName
 ,User_1.LastName AS [Tech AquiSys]
 ,TicketTask.Logwork AS timefromparts
 ,CONVERT(TIME(0), DATEADD(SECOND, TicketTask.Logwork, 0)) AS 'hh:mm:ss'
 ,User_1.Id AS [ID Tech]
FROM MembershipManagement.[User]
INNER JOIN OrganizationManagement.Company
  ON [User].CompanyId = Company.Id
INNER JOIN IncidentManagement.Ticket
  ON Ticket.RequesterId = [User].Id
INNER JOIN IncidentManagement.TicketTask
  ON TicketTask.TicketId = Ticket.Id
INNER JOIN MembershipManagement.[User] User_1
  ON TicketTask.AgentId = User_1.Id
WHERE TicketTask.DueDate BETWEEN DATEADD(d, 0, DATEDIFF(d, 0, GETDATE())) AND GETDATE()
AND User_1.Id = @TechId
i use techId.

Nusa

alexa

Re: Command Line : Parameters

Post by alexa » Mon 06 Mar 2017 14:17

Could you please provide us a screenshot of the window invoked by selecting 'Help -> About...' from the main menu of the GUI of dbForge Studio for SQL Server?

Also, please send us the command line string you are executing and the *.rdb data report file?

Please send the reply to alexaATdevartDOTcom and supportATdevartDOTcom.

nusa
Posts: 18
Joined: Thu 02 Feb 2017 16:12

Re: Command Line : Parameters

Post by nusa » Mon 06 Mar 2017 14:21

https://cl.ly/2X0y0m0t2l36

I sent the email.

Nusa

alexa

Re: Command Line : Parameters

Post by alexa » Mon 06 Mar 2017 14:42

Thank you for the reply.

Please try the file we sent you.

nusa
Posts: 18
Joined: Thu 02 Feb 2017 16:12

Re: Command Line : Parameters

Post by nusa » Wed 22 Mar 2017 19:58

Same problem :-(

Nusa

alexa

Re: Command Line : Parameters

Post by alexa » Thu 23 Mar 2017 09:52

We will investigate this issue.

alexa

Re: Command Line : Parameters

Post by alexa » Thu 23 Mar 2017 10:06

Please try recreating the *.rdb file with the latest product build 5.4.275 and execute the command line once again.

Post Reply