Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: John Discallar
  Where is John Discallar?
 Nagoya
 Japan
 John Discallar
 To: Suresh. C
  Where is Suresh. C?
 Chennai
 India
 Suresh. C
 Tags
Subject: RE: Reports
Thread ID: 21647 Message ID: 21759 # Views: 0 # Ratings: 0
Version: Visual FoxPro 5 Category: Reports and Printers
Date: Tuesday, April 01, 2003 11:00:24 AM         
   


> >
> >
> > I have a form with 3 option buttons named vendor,material & general & three seperate reports for the previous three optionbuttons. Onclick of ok command button, the report for vendor should be displayed & similarly the two should be displayed. My problem is onclick of ok button , the form does call the report but it runs out immediately.
> >
> > Regards
> > Vijayendran S
>
> I think the table has no records. Plz, check this out.
>
> C.Suresh

What is typically do is this :

SET FILTER TO blah blah blah
GO TOP

IF EOF()
=Messagebox("No Data Printed")
ELSE
REPORT FORM blah blah blah
ENDIF


if the messagebox appears , then it means your filter didn't produce result
Hope this could help you.

Foxpro Child

COMPLETE THREAD

Reports Posted by Vijayendran @ 3/28/2003 1:13:26 PM
RE: Reports Posted by Plinio Fermin @ 3/28/2003 8:48:40 PM
RE: Reports Posted by Suvi Joseph @ 3/29/2003 8:32:19 AM
RE: Reports Posted by Vijayendran @ 3/31/2003 6:18:17 AM
RE: Reports Posted by Suvi Joseph @ 3/31/2003 6:44:03 AM
RE: Reports Posted by Vijayendran @ 3/31/2003 9:13:23 AM
RE: Reports Posted by Suvi Joseph @ 3/31/2003 12:31:55 PM
RE: Reports Posted by Benny Thomas @ 4/1/2003 4:40:07 PM
RE: Reports Posted by C.Suresh C.Suresh @ 3/29/2003 10:00:19 AM
RE: Reports Posted by Caij Gomez @ 4/1/2003 11:00:24 AM
RE: Reports Posted by Vijayendran @ 4/1/2003 1:38:29 PM
RE: Reports Posted by Vijayendran @ 4/1/2003 2:50:22 PM