Why are you doing the following?

code:
SELECT
CASE InGroup(MIS) AND @WUserID = "sys-sc"
USE X: "\\POR-NT1\SCANS$"
ENDSELECT

You should get the desired effect with:
code:
IF InGroup("MIS") AND @WUserID = "sys-sc"
USE X: "\\POR-NT1\SCANS$"
ENDIF

HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's