I have a problem transferring a few vars between the 2 reports.
The first report is the normal display, the second report is to process a DB write.
However: As I've been debugging things it seems that I have noticed.
Is there a limit on the number of variables that you can pass?
I'm trying to pass 5, and they seem to not work after 3.
Here's the relevant parts of the code:
Code inside part 1:
select 'dbr.editable', 'status', 'sp_DBR_ons_venue_pack_summary_01', 'inEmployeeId=eid', 'inSeason=season', 'inVenueId=vid', 'inUdId=udid';
Code inside part 2
CREATE PROCEDURE sp_DBR_ons_venue_pack_summary_01
(
inEmployeeId int,
inSeason char(45),
inVenueId int,
inStatus int
inUdId int
)
If I simply return a var (eg: select inEmployeeId), then this works UP TO inVenueId. For inStatusId and inUdId this stops working.
At this debugging stage I can clearly see that inStatusId and inUdId are correctly populated in part 1.
Can you shed any light?
Cheers
Rick