Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Benny Thomas
  Where is Benny Thomas?
 Jeddah
 Saudi Arabia
 Benny Thomas
 To: Suvi Joseph
  Where is Suvi Joseph?
 Bangalore
 India
 Suvi Joseph
 Tags
Subject: RE: Reports
Thread ID: 21647 Message ID: 21776 # Views: 9 # Ratings: 0
Version: Visual FoxPro 5 Category: Reports and Printers
Date: Tuesday, April 01, 2003 4:40:07 PM         
   


Can you make sure there are data in the table selected like the following

Select mytable
go top
if eof()
wait window "No records found for printing"
else
report form ......
endif

Benny

> > >To
> > > > Suvi Joseph
> > > >
> > > > Respected sir
> >
> > That does not make any difference. Do you think i should give any condition in printwhen properties of the report.
> >
> > Regards
> > Vijayendran
> >
> > > To
> > > > Suvi Joseph
> > > >
> > > > Respected sir
> > > >
> > > > Onclick of ok button, the preview is seen which lasts hardly for even a second & the next minute it runs out. I give the command 'report form' in the click procedure of ok button
> > > >
> > > > Regards
> > > > Vijeyendran
> > > >
> > > >
> > > > > >
> > > > > >
> > > > > > 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
> > > > > Hi,
> > > > > What do you mean by runs out immediately. Do you mean it doesnt show the report in a window or doesnt print the report? I suppose you use reort designer for the reports. In that case where you are givint he 'report form' command?
> > > > >
> > > > > Regards,
> > > > > Suvi Joseph
> > > > > www.sssoftwares.com
> > > >
> > > >
> > > > Vijayendran S
> > >
> > > Hello Vijayendran,
> > > Try selecting the table just before the 'report form' command. and issue a 'go top' after selecting table. Make sure that you have records in the table. If no record is there it wont print anything. That way it wont show anything on the screen. It would run out immediately.
> > > Regards,
> > > Suvi Joseph
> > > www.sssoftwares.com
> >
> >
> > Vijayendran S
>
> Can you post the code you are using?
> Regards,
> Suvi Joseph
> www.sssoftwares.com


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