Hi Team,
By the default the edit report inside dbr.editable always gets edit value in the last parameter. So when I define it like:
CREATE PROCEDURE sp_DBR_update_Index(inID int, inCol varchar(50), inValue varchar(50), inLogin varchar(50))
Then I pass the edit value into inValue parameter.
select 'dbr.editable', 'Email', 'sp_DBR_update_Index', 'inID=ID', 'inCol="abc", 'inValue=Email';
Then inLogin also retrieve Email instead of current user.
Another problem when I use is dbr.editable always requires parameter even it's optional. If I remove the inCol="abc"
, also set inCol parameter is optional but the main report can not make it editable and show and error about required inCol parameter. I must set it to another random value to avoid that.