>The following code does not work. I'm begining to think that VFPv5.0's report writer is so full of bugs and that it is all but useless.
>
>Could someone please tell me why this code does not work?
>
>REPORT FORM repvehicleusage.frx ;
> for ((trim(trip_history.reg_no) = trim(thisform.combo3.value)) and ;
> ((TtoD(trip_history.time_out) > CtoD(thisform.text1.value)))) ;
> Preview
>
>The trip_history.reg_no part works well but all records are returned when thisform.text1.value is > trip_history.time_out. The OPTIONS" value is set to British with Century set on.
>
>This is a very odd state of affairs?
>
>It looks to me that VFPv5.0's report writer needs to be avoided.
>
>thanxs in advance.
>John
IMHO, you shouldn't use Thisform in FOR clause (it might be the reason). Would you like to replace them with local variables? Anyway it's not problem of Report Writer.
Edward Pikman
Independent Consultant