[0x0005] Operation not supported
Ola pessoal
Estou usando Delphi 7 + DbExpress + Firebird 1.53, e ao tentar filtrar alguns registro com a sintaxe abaixo, usando uma TSqlQuery da a seguinte mensagem: [0x0005] Operation not supported.
Isso ocorre quando dou o query1.open;
Filtro = Select Cli.*,(select Sta.Nome from CadStatu Sta where Sta.Codigo = Cli.Status) as NStatus, (select Bco.Nome from CadBanco Bco where Bco.Codigo = Cli.Banco) as NBanco, (select Vin.Nome from CadVincu Vin where Vin.Codigo = Cli.Vinculo) as NVinculo, (select Pre.Fantasia from CadPrefe Pre where Pre.Codigo = Cli.Prefeitura) as NPrefeitura from CadClien Cli where Cli.Codigo <> 0 and Cli.Codigo between 1 and 5 order by Cli.Codigo
Estou usando Delphi 7 + DbExpress + Firebird 1.53, e ao tentar filtrar alguns registro com a sintaxe abaixo, usando uma TSqlQuery da a seguinte mensagem: [0x0005] Operation not supported.
Isso ocorre quando dou o query1.open;
Filtro = Select Cli.*,(select Sta.Nome from CadStatu Sta where Sta.Codigo = Cli.Status) as NStatus, (select Bco.Nome from CadBanco Bco where Bco.Codigo = Cli.Banco) as NBanco, (select Vin.Nome from CadVincu Vin where Vin.Codigo = Cli.Vinculo) as NVinculo, (select Pre.Fantasia from CadPrefe Pre where Pre.Codigo = Cli.Prefeitura) as NPrefeitura from CadClien Cli where Cli.Codigo <> 0 and Cli.Codigo between 1 and 5 order by Cli.Codigo
Helderjr
Curtidas 0