Hello,
I have a dbr.button that triggers a popup report for users to enter values. However, some of the lower inputs should be either invisible or rendered so a user can not input values in them because they are dependent on another input in the report.
For example with this report:
SELECT 'dbr.button', 'New Record';
SELECT 'dbr.report', 'sp_create_Records', 'vName[]', 'event=click';
SELECT 'Create Record';
CREATE DEFINER=`mydbr`@`localhost` PROCEDURE `mydbr`.`sp_create_Records`(
vOrganizationId int(11),
vProviderLocationId int(11),
vProviderId int(11),
vClientId int(11),
vRecordTypeId int(11),
vAssessmentDate date,
vAutoQualifier tinyint(1),
vPreAssessmentSILevel int(1),
vPrelimSILevel int(1),
vFinalSILevel int(1),
vLevelOfCare int(11),
vSiLevel int(1),
vReviewNumber int(1),
vAverageDLA20 dec(3,2),
vMGAF dec(3,1),
vSIModifier int(1)
)
BEGIN
INSERT INTO bham.Records(
OrganizationId,
ClientId,
ProviderId,
ProviderLocationId,
RecordTypeId,
AssessmentDate,
AutoQualifier,
PreAssessmentSILevel,
PrelimSILevel,
FinalSILevel,
LevelOfCare,
SiLevel,
ReviewNumber,
AverageDLA20,
MGAF,
SIModifier
)
If RecordTypeId = 4, I want to hide the input for SIModifier, MGAF, AverageDLA20.
I'm new to myDBR and inherited this project so I apologize if I haven't provided enough detail. Happy to provide more info if needed.
Thanks