Hi Christine;
Anytime you use DOT notation the returned value is "ANY". In order to actually test the value in the DWO's column you need to cast the data type - for example:
ll_dormant = LONG ( tab_2.tabpage_comp_info.dw_webcomp_info.object.dormant[i])
- or -
ll_dormant = dw_webcomp_info.GetItemNumber (dormant, i )
After the data casting ... ll_dormant should be a NULL if applicable.
Regards ...Chris