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
Computer KidComputer Kid 

Accessing Information

Hello,

I am trying to automatically fill in some information in a form.  For example: In one object (called OBJA) there is a custom field for a price and a description.  In another object called OBJB it has a lookup to the ID of OBJA.  There are also fields that should contain the same information as the price and description in OBJA.  Is there a way to set the default values for OBJB's fields the same as the values of OBJA's fields with some type of formula?  Thanks in advance.

P.s. Yes the information must appear in the objects and the redundancy is necessary.
abhi_developerabhi_developer
Hi,
 
Sure why not, while creating any custom feild we get a option for of deafault value of that field,
 
Depending upon the field type you can write formulas to give values to fields.
 
Go to edit field and check for formula editor to give tehm default values.
 
-Abhishek Singh
Computer KidComputer Kid
Thank you for the info. I was looking more for the code. You see, OBJB only gives me the option to access the ID of OBJA and nothing else, like the price or description. I would assume that it would follow this logic:

OBJB.description = OBJA_ID.description

I know that this is not the correct format for the code, could you please help me out. Thanks again.