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

VF Trigger & VLOOKUP

1. What is a VF Trigger?
2. How do you create a VF Trigger?

3. Usage of VLOOKUP and how to create VLOOKUP field in the object?


Can any one give brief description on these questions?





1. You may be talking about Apex Trigger cause as far as I know, there's no such term called VF Trigger.


An Apex Trigger is executed when any database operation has been performed. For example, Insert , Update , Delete, Undelete or Upsert ( Inserts if the record doesnot exist and Updates if it does )


There are two types of triggers. After and Before

After trigger is executed after the database operation.

Before trigger is executed before the operation.

Both can be used together or independently.


2. Use following syntex

Trigger trigger_name ON Sobject Name (can be custom or standard object) (after OPERATION,before OPERATION)


3. This will help you out.