Mestre Detalhe

Kleyber
Wed, 14 Sep 2016 17:21:38 +0000

Troque em:

sc_lookup(rs,$qry);

Por:

sc_lookup(rs,$sql);