when putting in an if statement to look for first='Y' what is the preferred method? and why?
Code:
--Method A
IF InputRoot.XML.Base.Parent.(XML.Attribute)first = 'Y' THEN
--Method B
IF (InputRoot.XML.Base.Parent.(XML.Attribute)first) = 'Y' THEN
--Method C
IF InputRoot.XML.Base.Parent.(XML.Attribute)first IS NOT NULL THEN
IF CAST(InputRoot.XML.Base.Parent.(XML.Attribute)first AS CHAR) = 'Y' THEN
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum