DBX error: Invalid field type

Delphi

12/08/2003

:?:
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

Wagnerpb

Curtidas 0
POSTAR