so I found:

int i = ERXEOAccessUtilities.rowCountForFetchSpecification(ec, fs);

and used it in a condition. works great.

thanks,

Ted

--- On Thu, 4/11/13, David Holt <[email protected]> wrote:

> From: David Holt <[email protected]>
> Subject: Re: Jasper Report question
> To: "Kieran Kelleher" <[email protected]>
> Cc: "Theodore Petrosky" <[email protected]>, "WebObjects Development" 
> <[email protected]>
> Date: Thursday, April 11, 2013, 3:07 PM
> Or conditionally display the report
> button based on a non-null result set.
> 
> David
> 
> 
> On 2013-04-11, at 11:28 AM, Kieran Kelleher <[email protected]>
> wrote:
> 
> > Hi Theodore
> > 
> > I have not needed to use Jasper in a long time. Maybe
> there is some boolean expression you can create in the
> report to show some "No Records Found" content or something
> like that.
> > 
> > Sorry I don't have an answer OTOH for you.
> > 
> > Kieran
> > 
> > On Apr 11, 2013, at 2:18 PM, Theodore Petrosky <[email protected]>
> wrote:
> > 
> >> Kieran,
> >> 
> >> I am using the ERJasperReports framework in a
> project an I am running into a little problem. If the
> fetchSpec returns an empty set, the report fails to print
> anything. Or rather it prints an empty page. not even the
> label text prints.
> >> 
> >> I am trying to come up with a solution that isn't
> too convoluted. Have you seen this? It surprised me that the
> resultant page was totally blank even missing the static
> text.
> >> 
> >> I will keep plugging and see if there is a simple
> solution. (If you know of one, please pass it on!)
> >> 
> >> Ted
> > 
> > 
> > _______________________________________________
> > Do not post admin requests to the list. They will be
> ignored.
> > Webobjects-dev mailing list      ([email protected])
> > Help/Unsubscribe/Update your Subscription:
> > https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
> > 
> > This email sent to [email protected]
> 
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to