Jim, I just spent several days doing this.
SET TRACE ON at the beginning of an EEP
your code
SET TRACE OFF
RETURN

The other option is to: DEBUG SET TRACE ON
Then just set DEBUG on and off, you don't have to muck around through all the EEPS .

BTW, another thing that I found is very handy: REPORT|Document Custom EEPS|Clipboard.
Then paste it into a blank RBEdit doc - all your report code is in one place to examine.

ok, one more.  Tracing through an EEP can be excruciating if you have a lot of rows - like more than 3 or 4.
So what I did was in the On Before Generate, SET VAR vLoopCount INTE = 0
Then at the beginning of the EEP:
IF vLoopCount < 3 THEN
  SET VAR vLoopCount = (.vLoopCount + 1)
  SET TRACE ON
ENDI
your code
SET TRACE OFF
RETURN
Then it only traces the first 3 rows.

Doug

Jim Belisle wrote:

I am trying to trace the report.

What is the best way to trace a report?

I have been creating a command file then trace it that way but RBASE locks up when I do it that way.

I cannot find out why my text value is not changing to an integer.

I have tried both INT and NINT functions and I only get NULLS or 0.

 

Jim

 


From: [email protected] [mailto:[email protected]] On Behalf Of Doug Hamilton
Sent: Wednesday, May 05, 2010 12:20 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: TEXT TO INTEGER

 


(NINT(arg))

Rounds a number that has a TEXT, REAL, DOUBLE, NUMERIC, or CURRENCY data type to the nearest integer, returning a value that has an INTEGER data type.

In the following example, the value of vnint1 is 3 and the value of vnint2 is 4.

 

SET VAR vnint1 = (NINT(2.6))  

 

 

SET VAR vnint2 = (NINT(4.4))  

 

 

 


Doug

Jim Belisle wrote:

What function do I use to change the text value of a GETPROPERTY command into Integer?

 

Jim

Reply via email to