Dear forum
I am looking for some help with a task I have.
I need to collect a value from a MS SQL DB, but the value in the DB will not be generated before I execute a trigger in the DB, I received the code I need to generate the number, but not sure how to attack this in AdvancedHMI, her is the SQL code I received:
DECLARE @return_value int,
@newKey nvarchar(20)
EXEC @return_value = [dbo].[NAP_UniqueKeyGen]
@newKey = @newKey OUTPUT
SELECT @newKey as N'@newKey'
How do I attack this the right way?
/Holmux