QBFC12.
I am querying for a Customer list in the desktop version of QB. From this I get an ICustomerRet object.
In the case where MiddleName has not been set these fail because the object is nothing:
- if ICustomerRetObj.MiddleName.IsSet then ...
- if ICustomerRetObj.MiddleName.IsEmpty then ...
This does work:
- if ICustomerRetObj.MiddleName isnot nothing then ...
I am unable to find any documentation about IsSet and IsEmpty and they are not found in a search of QBSDK Programmers Guide.
What do these methods actually do?
Regards, Rick