Change User Entered Decimal Value prior to Calculate Event?

Avatar

Avatar

rclarke2009

Avatar

rclarke2009

rclarke2009

20-11-2009

Hi,

Is it possible to check a user entered value in a Decimal field and change it prior to it being used in Calculate events associated with other fields? Basically I want to trap zero and null values at source, change them to 1 and thus prevent "division by zero" errors that would have occurred in other fields on the form.

Thanks,

Rod.

View Entire Topic

Avatar

Avatar

xrum

Avatar

xrum

xrum

20-11-2009

if (myTextBox.rawValue == 0)

{

myTextBox.rawValue = 1

}

before you do your calculations