locked
get whether lookup is account or contact RRS feed

  • Question

  • from a dynamic entity -- If i have a lookup property how do i determine whether its a contact or account?
    Thursday, August 27, 2009 3:46 PM

Answers

  • Take a look at the type property of the lookup. It states the entity name of the lookup target.
    • Marked as answer by T Bonz Thursday, August 27, 2009 4:03 PM
    Thursday, August 27, 2009 3:56 PM

All replies

  • Take a look at the type property of the lookup. It states the entity name of the lookup target.
    • Marked as answer by T Bonz Thursday, August 27, 2009 4:03 PM
    Thursday, August 27, 2009 3:56 PM
  • LookupProp.Value.type = (

    CType(Prop, LookupProperty)).Value.type

    thanks

    Thursday, August 27, 2009 4:03 PM