Hi
I have below code in Sub Report -
DECLARE @TipoObjeto VARCHAR(10) DECLARE @DocEntry INT DECLARE @Comando VARCHAR(MAX) DECLARE @Tabela VARCHAR(3) SET @TipoObjeto = x
In Main Report i have given
Shared NumberVar x := 5;