Using a bizobj with a numeric field..say 99.99..

Create a fieldvalidate so that value must be <= 10.

 

Create a form with the numeric field tied to a textbox and any other
textbox.

Say original value is 1

 

Try to enter 25 into value.

Field validation catches it.

Now enter 2..5 (note 2 decimal periods) to emulate user hitting dec key
twice 

 

We see where a system exception is thrown and “old value” of 1 is restored,
but user is not notified so they may well continue and may not notice the
error if doing heads-down data entry.

 

Suggest something like tying the exception to the field validate (or similar
functionality) somehow so the user is forced to enter a valid (i.e. legal)
value for the data-type before continuing.

 

Also, when the exception is thrown, it seems to reset the ischanged(?)
property, because somehow if we started with a value that does not pass the
fieldvalidate criteria, the user can exit the field and the validation does
not fire.

 

Thanks,

Larry Long


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.5.2/766 - Release Date: 18-Apr-2007
7:39 AM
 


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/!&[EMAIL PROTECTED]

Reply via email to