function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mmaxtrammaxtra 

Prevent another record creation if 1 exists?

Hi:

   I wanted to know, can I create a button that would prevent a record from being created when one exist already for the child object.

If yes, does anyone have an example to lead me off.

Thanks

MMA

BharathwajBharathwaj

hi,

 

possibly if you can go through this link it gives idea regarding a similar situation.

 

http://community.salesforce.com/sforce/board/message?board.id=apex&message.id=20185#M20185