Code:

:sec_1
If InGroup ( "Roberts Accounting" )
If @PRIMARYGROUP = "Roberts Accounting"
GoTo "sec_2"
Use s: "\\hyperion\accounting$"
EndIf
EndIf
;*************************************************************************
:sec_2
If InGroup ( "Roberts Estimating" )
If @PRIMARYGROUP = "Roberts Estimating"
GoTo "sec_3"
Use s: "\\hyperion\estimating$"
EndIf
EndIf



I am really confused here. What are you trying to accomplish? I see no way that the USE S: mapping will ever execute.

_________________________
Home page: http://www.kixhelp.com/hb/