Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Declaring as NumberVar?

Status
Not open for further replies.

kovas

Technical User
Aug 6, 2002
88
US
Is there a limit to how big NumberVar can be?

I have a formula which adds up datediff between 2 days in seconds, which i later change to hours.

I declared the Counter as NumberVar

but once it gets over 60,000 it stops adding?

 
>>I declared the Counter as NumberVar

>>but once it gets over 60,000 it stops adding?

Something else is the problem....NumberVar can handle numbers into the millions.

My GUESS is that you have a reset on the value of Counter and it is getting fired before you get finished. Perhaps it is in a repeating header...if so then try something like the following

@reset

NumberVar Counter; //BTW I'd change this variable name
if notinRepeatedGroupHeader then
Counter := 0;

Jim Broadbent
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top