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

Autopopulating from one object into another

I ended up just creating a new object called clinical notes and related that object to the account and opportunities.
Another question...I am trying to pull field data into this new custom object using a formula.  Ex. I have a patient record using a certain prescription noted on the Account object. This prescription field is selected from a picklist. Here is my formula that gives me an error saying I a missing a ")" Any advice?

CASE( Client_Name__r.CPAP_Pressure__c ,
5 cm H2O, "5 cm H2O" ,
6 cm H2O, "6 cm H2O" ,
7 cm H2O, "7 cm H2O" ,
8 cm H2O, "8 cm H2O",
9 cm H2O, "9 cm H2O",
10 cm H2O, "10 cm H2O",
11 cm H2O, "11 cm H2O",
12 cm H2O, "12 cm H2O",
13 cm H2O, "13 cm H2O",
14 cm H2O, "14 cm H2O",
15 cm H2O, "15 cm H2O",
16 cm H2O, "16 cm H2O",
The values in your case statement are invalid.  Put them in quotes.
Thanks JP...worked. It doesn't tell you that in the online help.