Usually it happens if there are no records in the current table/cursor and the code does not contain user friendly message like "No records for report...." Are you sure that report contains records to be printed?
>
> I have a form with an option button named preview & a combo box & text box containing from & to grinno. Onclick of preview option button the combo box & the text boxes are enabled. The combo box contains two options named 'Before approval' & 'After approval' & 'Fromgrinno & Togrinno text box' .
>
> 1. Onchose of 'Before approval' my report based on tabled pendgrin should be displayed .
>
> 2. onchose of 'After approval' my report based on rcdgrin should be displayed.
>
> 3. Both the reports are the same reports with both the tables added in it but depending upon the selection certain fields will be displayed in 1 report & certain other in another report.
>
> My problem is onclick of ok command, the preview page is seen but runs out immediately. Can anybody help me.
>
>
> Regards
> Vijayendran S
COMPLETE THREAD
|  | | Reports Posted by Vijayendran @ 4/3/2003 3:32:49 PM |
|