If you could share the file in question in a DXP file as well as letting me know what version of DBT you are using I will take a look at the coding you are using and see if I can help. Let's do this offline. You can email me at jcarroll@aph.org. Once we have it resolved I will try to add a post reply to share what we have figured out.