main::lookup_NTSD_val Entering sub:lookup_NTSD_val args: '[ServerDescription]','[ServerLocation]','[ServerDomain]','[ServerServiceNo]','[AsstNo]','[ApproxUsers]','[IPAddress1]','[SvrStatus]','[OSVersion]' [ServerComp] left([ServerName], 9) = 'ServerXXX' main::lookup Opening ADODB connection main::lookup COMPLETE: Opening ADODB connection main::lookup SELECT '[ServerDescription]','[ServerLocation]','[ServerDomain]','[ServerServiceNo]','[AsstNo]','[ApproxUsers]','[IPAddress1]','[SvrStatus]','[OSVersion]' main::lookup FROM [ServerComp] main::lookup WHERE left([ServerName], 9) = 'ServerXXX' main::lookup COMPLETE: executing SQL main::lookup getting val for $col '[ServerDescription]' main::lookup Value: [ServerDescription] main::trim Entering sub:trim args: [ServerDescription] main::lookup getting val for $col '[ServerLocation]' main::lookup Value: [ServerLocation] main::trim Entering sub:trim args: [ServerLocation] main::lookup getting val for $col '[ServerDomain]' main::lookup Value: [ServerDomain] main::trim Entering sub:trim args: [ServerDomain] main::lookup getting val for $col '[ServerServiceNo]' main::lookup Value: [ServerServiceNo] main::trim Entering sub:trim args: [ServerServiceNo] main::lookup getting val for $col '[AsstNo]' main::lookup Value: [AsstNo] main::trim Entering sub:trim args: [AsstNo] main::lookup getting val for $col '[ApproxUsers]' main::lookup Value: [ApproxUsers] main::trim Entering sub:trim args: [ApproxUsers] main::lookup getting val for $col '[IPAddress1]' main::lookup Value: [IPAddress1] main::trim Entering sub:trim args: [IPAddress1] main::lookup getting val for $col '[SvrStatus]' main::lookup Value: [SvrStatus] main::trim Entering sub:trim args: [SvrStatus] main::lookup getting val for $col '[OSVersion]' main::lookup Value: [OSVersion] main::trim Entering sub:trim args: [OSVersion] main::lookup Closing ADODB connection main::lookup $VAR1 = { '\'[ServerServiceNo]\'' => '[ServerServiceNo]', '\'[ServerDomain]\'' => '[ServerDomain]', '\'[ServerLocation]\'' => '[ServerLocation]', '\'[OSVersion]\'' => '[OSVersion]', '\'[ApproxUsers]\'' => '[ApproxUsers]', '\'[AsstNo]\'' => '[AsstNo]', '\'[ServerDescription]\'' => '[ServerDescription]', '\'[SvrStatus]\'' => '[SvrStatus]', '\'[IPAddress1]\'' => '[IPAddress1]' }; main::lookup_NTSD_val lookup_NTSD_val got result ""