thanks for the reply,
I have been trying to get this working again today but I'm still lost.
Do you mean the parameter inside the mydbr report should be named inTrackID?
If I list the code from both reports, maybe you can explain it further for me.
Both of the reports use mysql stored views that contain various tables and joins, and like I said earliier, I'm trying to pass the value from sp_DBR_Events V.ID and use it with v.eventcode from sp_DBR_Results.
----------
report 1
----------
DROP PROCEDURE IF EXISTS sp_DBR_Events
$$
CREATE PROCEDURE sp_DBR_Events
()
BEGIN
select 'dbr.report', 'sp_DBR_results', 'eventcode=ID';
select v.ID as 'ID',
v.Date as 'Date',
v.Description as 'Description',
v.Location as 'Location'
from stat.view_events v;
END
$$
----------
report 2
----------
DROP PROCEDURE IF EXISTS sp_DBR_Results
$$
CREATE PROCEDURE sp_DBR_Results
()
BEGIN
select v.eventcode as 'Eventcode',
v.classcode as 'Classcode',
v.Position as 'Position',
v.Name as 'Name',
v.laps as 'Laps',
v.Finish Time
as 'Finish Time',
v.Personal Best
as 'Personal Best',
v.pb Mph
as 'pb Mph',
v.pb %
as 'pb %',
v.Average Lap
as 'Average Lap',
v.Avg Mph
as 'Avg Mph',
v.Avg %
as 'Avg %',
v.Statistical as 'Statistical',
v.Slow Mph
as 'Slow Mph',
v.Slow %
as 'Slow %',
v.Overall Rating
as 'Overall Rating'
from stat.view_results v;
END
$$
----------
I'll see how obviously stupid I'm being once I managed to a link my first report properly.
:/