Excellent call from both of you. While most of the data in the report is actually in arrays, there is actually a current cursor... :)
What would I do without the UT? The UT is a VFP feature.
I hope you have a great year, Hilmar and Andrew. I hope we meet soon.
Best wishes,
Alex
>This usually happens if there are no data. I suggest the following, for each report or in a generic reporting class:
>
>
>select ... from ...
>if _tally = 0
> MessageBox("No data. Review your selection criteria.")
>else
> report form...
>endif
>
>
>>Why would a report come up on screen and immediately disappear? The call is:
>>
>>
>>REPORT FORM rptDiarioCaja NOCONSOLE PREVIEW
>>
>>
>>The curious thing is, it was working a couple of hours ago. The latest changes to it were replacing variables shown in a field with function calls (I have since changed back to variables).
>>
>>Would appreciate any leads. TIA,
>>
>>Alex