mestre detalhe com tab master com inner join é possivel com delphi dbexpress

Delphi

17/09/2010

Boa tarde Pessoal

estava tentando aqui num sisteminha uma conexao mestre detalhe cuja a tabela master possui inner join  e dar o seguinte erro:
---------------------------
Debugger Exception Notification
---------------------------
Project SysMidas.exe raised exception class TDBXError with message 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INNER JOIN tb_secretarias ON tb_lotado.TB_SECREATARIAS_ID_TB_SECRETARIAS = tb_se' at line 3'.
---------------------------
Break   Continue   Help  
---------------------------

uso sqldataset + datasetprovder + clienteDataset
banco mysql

sem o inner join o master detail funciona perfeitamente

qual o motivo do erro?


grato,


Adriano.



Adriano Pereira

Adriano Pereira

Curtidas 0
POSTAR