Menu

#23 Associate an error to several fields

open
nobody
4
2007-03-20
2007-01-10
No

When raising an error with addError or raiseError it should be possible to add a list of fields.

From Edward:

Is it possible to associate user input error with several columns? I mean to highlight them alltogether. I'll try to explain. I have a kind of denormalizaton on the base table where values in several columns are logically connected with each other. You know sometimes it may be nessesary. I check the following formula to raise error:
ROUND((ApexLib_TabForm.NV('PRICE', ii) * ApexLib_TabForm.NV('AMOUNT', ii) - ApexLib_TabForm.NV('DISCOUNT', ii)), 2) <> ApexLib_TabForm.NV('TOTAL_COST', ii)
In this case we don't actually know which column has an error value (or simply a user misprint).

Discussion

  • Patrick Wolf

    Patrick Wolf - 2007-01-10
    • summary: It should be possible to show an error for several fields --> Associate an error to several fields
     
  • Patrick Wolf

    Patrick Wolf - 2007-03-20
    • assigned_to: patrick_wolf --> nobody
     

Log in to post a comment.