Skip to main content



      Home
Home » Archived » BIRT » variables in onStart and onRow
variables in onStart and onRow [message #93077] Sat, 19 November 2005 19:30 Go to next message
Eclipse UserFriend
Originally posted by: ryan.mi-roof.com

Guys-

Having another issue when trying to use onStart and onRow methods for a
table.

For my onStart method, I declare the following:
var photoCount = 0;

For my onRow method, I declare the following:
photoCount = photoCount += 1;

I get an error every time I try to preview. The errors in my log file says
"photoCount" is undefined.

Am I doing something wrong? I pretty much followed the example in the BIRT
developer guide to a tee.......
Re: variables in onStart and onRow [message #94020 is a reply to message #93077] Tue, 22 November 2005 22:00 Go to previous message
Eclipse UserFriend
Ryan,

remove var from photoCount and see if that works.

Jason Weathersby
BIRT PMC

"Ryan Schulz" <ryan@mi-roof.com> wrote in message
news:dlog2a$soh$1@news.eclipse.org...
> Guys-
>
> Having another issue when trying to use onStart and onRow methods for a
> table.
>
> For my onStart method, I declare the following:
> var photoCount = 0;
>
> For my onRow method, I declare the following:
> photoCount = photoCount += 1;
>
> I get an error every time I try to preview. The errors in my log file
> says "photoCount" is undefined.
>
> Am I doing something wrong? I pretty much followed the example in the
> BIRT developer guide to a tee.......
>
Previous Topic:BIRT 1.0.1 source code
Next Topic:Checkbox in report
Goto Forum:
  


Current Time: Tue Jul 15 06:39:22 EDT 2025

Powered by FUDForum. Page generated in 0.12917 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top