>>Works fine over here - providing you assign a value to lnyear
>>
>>
>>lnyear = 2000
>>select dossier.*, ;
>> cast ( ?lnYear as Int ) as MyParam;
>> from dossier ;
>> where (YEAR( d_custenddate ) >= ?lnYear )
>>
>
>But then I am no longer asked for a value. It just uses the vallue assign before the view is executed without asking.
I was told in the 90s of the last century to not use that feature ....
:D
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]