- MSCRM 3.0 update lookup values issue
- Posted by Pedro Airo on November 29th, 2005
I have an entity, with a value in a lookup attribute type.
In the entity i have a value in that attribute, however i want to put a null
value via sdk.
I want to update with a null value that attribute, i have tried to put a
null value in the attribute, but the attribute in the entity have no value
changes.
anyone knows how can i put a null value via sdk in a entity that have that
attribute with value?
--
Pedro Airó
- Posted by Matt Parks on November 30th, 2005
You need to specify both the IsNull & IsNullSpecified values to true, like:
acctObj.parentaccountid.IsNull = true;
acctObj.parentaccountid.IsNullSpecified = true;
--
Matt Parks
MVP - Microsoft CRM
"Pedro Airo" <pedro_airo@netcabo.pt> wrote in message
news:B89CAB61-D03D-4DD8-A0BE-9CB4C8D2D974@microsoft.com...
I have an entity, with a value in a lookup attribute type.
In the entity i have a value in that attribute, however i want to put a null
value via sdk.
I want to update with a null value that attribute, i have tried to put a
null value in the attribute, but the attribute in the entity have no value
changes.
anyone knows how can i put a null value via sdk in a entity that have that
attribute with value?
--
Pedro Airó
- Does anybody know of a bluck email issue using MSCRM ?? (Windows CRM) by Biffo
- Update on MSCRM Jscript problem (Windows CRM) by Eric at StrataCom
- Inserting values into MSCRM database (Windows CRM) by Richard I.P
- Update values on large amount of records (Windows CRM) by Sebastiano Castrini
- PROBLEM: W2K Restarting randomly - NOT a hardware issue - UPDATE issue (Windows 2000) by Bat

