Error report using parameters

Hi everybody...

I??m using Fast Reports 4.7.3, and I have a problem.

The script bellow is used as master details and I??ve programmed that using parameters (bold type), typed by the user.

select distinct codcliforn, razao
from movimentacoes
left join cliforn
on movimentacoes.codcliforn = cliforn.codigo
where dataemissao between :datainicial and :datafinal
and codcliforn = :codcliforn

However, I??m getting the error bellow

Error
The following error(s) have occured:

ADOQuery1: ADOQuery1: Error in expression '': Expression expected

ADOQuery1: Error in expression '': Expression expected


OK

In ADOQueri1 parameters properties I??ve declared all the variables... In the query analizer, it returns the values, but when I run into the project, I got the error above. Can anyone help me please? Thx

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.