DBX error: Invalid field type
12/08/2003
0
:?:
Estou rodando essa consulta no TSQLClientDataSet:
select IMOVEIS.*, TIPO_IMOVEL.DESCRICAO_TIPO
from IMOVEIS, TIPO_IMOVEL
where IMOVEIS.CODIGO_TIPO = TIPO_IMOVEL.CODIGO_TIPO
and IMOVEIS.NUMERO_QUARTOS between :WQuartosInicial
and :WQuartosFinal
order by IMOVEIS.ENDERECO_IMOVEL
O problema está quando eu passo os parâmetros:
:lol:
SQLClientDataSet_PesquisaImovel.Params.ParamByName(´WQuartosInicial´).AsInteger:=3;
SQLClientDataSet_PesquisaImovel.Params.ParamByName(´WQuartosFinal´ ).AsInteger:=5;
é como se esse formato fosse inválido...
alguém já passou por isso...
Estou rodando essa consulta no TSQLClientDataSet:
select IMOVEIS.*, TIPO_IMOVEL.DESCRICAO_TIPO
from IMOVEIS, TIPO_IMOVEL
where IMOVEIS.CODIGO_TIPO = TIPO_IMOVEL.CODIGO_TIPO
and IMOVEIS.NUMERO_QUARTOS between :WQuartosInicial
and :WQuartosFinal
order by IMOVEIS.ENDERECO_IMOVEL
O problema está quando eu passo os parâmetros:
:lol:
SQLClientDataSet_PesquisaImovel.Params.ParamByName(´WQuartosInicial´).AsInteger:=3;
SQLClientDataSet_PesquisaImovel.Params.ParamByName(´WQuartosFinal´ ).AsInteger:=5;
é como se esse formato fosse inválido...
alguém já passou por isso...
Wagnerpb
Curtir tópico
+ 0
Responder
Clique aqui para fazer login e interagir na Comunidade :)