mysql (query with parameter master detail) ?

Stimulsoft Reports.NET discussion
Post Reply
abi
Posts: 55
Joined: Mon Feb 22, 2010 4:18 pm
Location: indo

mysql (query with parameter master detail) ?

Post by abi »

hai..

i use mysql adapter with mysql connector.
i try master detail with 2 datasource

sample code:
-- master
select idp,name from t1

--child
select idk,smr from t2 where idk=@idp

datasource on child have parameter @idp and expression with master.idp

then, i try preview -- on child datasource get empty data...

may you can help me?

thanks

abi
Posts: 55
Joined: Mon Feb 22, 2010 4:18 pm
Location: indo

mysql (query with parameter master detail) ?

Post by abi »

problem solved..

thanks guys
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

mysql (query with parameter master detail) ?

Post by Andrew »

Ok! Have a nice day!
abi
Posts: 55
Joined: Mon Feb 22, 2010 4:18 pm
Location: indo

mysql (query with parameter master detail) ?

Post by abi »

tips:
on child datasource make sure Reconnect on each row must set TRUE and cast your parameter if necessary
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

mysql (query with parameter master detail) ?

Post by Alex K. »

Hello,

Thank you for sharing your experience with other users. Have a nice day!
Post Reply