What was the llPrinted variable after you printed?
>Tried this but value returned is null
>
>
>
>set reportbehavior 80
>
>llPrinted := .F.
>
>report form myreport to printer prompt preview
>
>Result := _VFP.SetVar('llPrinted', SYS(2040)="2")
>
>
>
>
>Any other ideas
>
>Anges, Could not get your code to work either
If it's not broken, fix it until it is.
My Blog