• girlycoder
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies

Hi gurus,

 

I have a visualforce page that uses standard list controller for mass updating.  I modelled it after the example from here: http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_sosc_list_views.htm

 

The problem is any time the validation rule is set off it shows a general message at the top of the page but the user has no idea which record the error is applying to.  Is there a way to indicate, which record on the page set off the validation rule?

 

http://img36.imageshack.us/img36/4855/nfy7.jpg

 

Thank you guys for your time.

Hi gurus,

 

I have a visualforce page that uses standard list controller for mass updating.  I modelled it after the example from here: http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_sosc_list_views.htm

 

The problem is any time the validation rule is set off it shows a general message at the top of the page but the user has no idea which record the error is applying to.  Is there a way to indicate, which record on the page set off the validation rule?

 

http://img36.imageshack.us/img36/4855/nfy7.jpg

 

Thank you guys for your time.

When i quering Account a = [Select name from acoount where id =: strId];

it throws exception System.QueryException: List has no rows for assignment to SObject

  • December 22, 2010
  • Like
  • 0