You need to sign in to do that
Don't have an account?
Navneeth Raj
Trigger Program for my field
Hi, there. I have a custom obj named "Student", in that i have field named "Country", so whenever a new student is created i want the country field has to be entered automatically. How can i write trigger for that?
You need to write below line only when you want to create the object or instance of Student object. or if you want to create new Record base on old record etc. And Trigger will fire only when DML will happened.
But in our case we dnt need to create any object. Only below trigger we need to use.
Please mark this as solution if this will help you. So that is some one has same issue this post can help other
Thanks
Amit Chaudhary
All Answers
You can do this by below solution
1) Set Default country
2) Workflow field update
3) Trigger
Please add all valid API name according to your org
Please mark this as solution if this will help.
Thanks
Amit Chaudhary
You need to write below line only when you want to create the object or instance of Student object. or if you want to create new Record base on old record etc. And Trigger will fire only when DML will happened.
But in our case we dnt need to create any object. Only below trigger we need to use.
Please mark this as solution if this will help you. So that is some one has same issue this post can help other
Thanks
Amit Chaudhary
That's great & cool. thanks Amit for quick replies, now i came to know why coding is fun.