Hey, thank you very much! That's a slick query. Very nice.
-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of sheehanam21
Sent: Wednesday, February 04, 2009 4:01 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: What Users are in What Security Groups
Here's the same scrip in T-SQL
SELECT userfile.name, secgroup.secgroupdesc, secgroup.secgroupcode,
userfile.dcduserid
FROM UserFile
CROSS JOIN
SecGroup
WHERE (userfile.grouplist LIKE '%' + secgroup.secgroupcode + '~%') OR
(userfile.grouplist LIKE '%' + secgroup.secgroupcode)
-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of sheehanam21
Sent: Wednesday, February 04, 2009 4:01 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: What Users are in What Security Groups
Here's the same scrip in T-SQL
SELECT userfile.name, secgroup.secgroupdesc, secgroup.secgroupcode,
userfile.dcduserid
FROM UserFile
CROSS JOIN
SecGroup
WHERE (userfile.grouplist LIKE '%' + secgroup.secgroupcode + '~%') OR
(userfile.grouplist LIKE '%' + secgroup.secgroupcode)
--- In vantage@yahoogroups.com, "apt876sp1" <atucker@...> wrote:
>
> Vic
>
> Here is what U did using ODBC and Access
> -----------------------
> SELECT PUB_UserFile.Name, PUB_SecGroup.SecGroupDesc,
> PUB_SecGroup.SecGroupCode, PUB_UserFile.DcdUserID
> FROM PUB_UserFile, PUB_SecGroup
> WHERE (((PUB_UserFile.GroupList) Like "*" & [PUB_SecGroup]!
> [SecGroupCode] & "~*" Or (PUB_UserFile.GroupList) Like "*" &
> [PUB_SecGroup]![SecGroupCode]));
> --------------------
> Hope it helps
> Allen
>
> --- In vantage@yahoogroups.com, "Vic Drecchio" <vic.drecchio@>
> wrote:
> >
> > I wanted what I thought was a simple query of "What Vantage users
> are
> > assigned to which Security Groups" or conversely, a "List of
Groups
> with
> > associated Users".
> >
> >
> >
> > I know the UserFile and SecGroup tables... but what table serves
as
> the
> > cross reference? Cannot seem to find it.
> >
> >
> >
> > Thank you in advance.
> >
> >
> >
> >
> >
> >
> >
> > Vic Drecchio
> > ERP Administrator
> >
> > TIMCO Aviation Services
> > Greensboro, NC
> > Email: vic.drecchio@
> > Office: 336.668.4410 x3091
> > Mobile: 704.530.3092
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
------------------------------------
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder
and Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links