+ Start a Discussion
ryanhcaryanhca 

Help with VLOOKUP function

I have a field where we have the user enter the name of a pricebook. We need to validate that the name entered is a valid Pricebook Name. I'm trying to use the VLOOKUP function:

 

 

VLOOKUP( $ObjectType.Pricebook2.Fields.Name, $ObjectType.Pricebook2.Fields.Name, PricebookName__c )

 I don't really care what's returned -- I'll just make sure that something is returned.