BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

on need data

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting
View previous topic :: View next topic  
Author Message
Terry
Guest





PostPosted: Thu Nov 11, 2004 2:53 pm    Post subject: on need data Reply with quote



I am using the onneeddata event to populate labels in a detail band. In the
before print eventof the report I open a number of datasets for the label
captions. The report has a page headerband . If the all the datasets are
empty, the header band does not print. The code in the onneeddata event
returns a false. My original thought was .. I attached a child band to the
pageheader. In its beforeprint event I tested for any data in the datasets,
and if there was none, the child band would print with a message indicating
'No data available'. But this code is not executing. Why isn't the
pageheader being printed?

thanks


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.