S
satori_1
Im having a mare of a job with something im trying to do..
I have a linked table that links directly into a SQL database and
pulls the status of a users account that’s recorded but the audit team
when they do reviews.
So I get rows of data that tell me the
System, Access Lever, Login,Status and Review ID for each user
SO
Active Directory , Domain Admin , login, Valid, REV00001
And so on…
Now there are people that are marked as NoneValid and they need to be
looked into..
Currently I link to this table and then use my own local table to
provide a comments box that I can update..
SO…
I created a table that contains all the possible review ID's (REV00001
- REV99999999)
I then created a query that looks up the linked table and does a
"Join" with my local comments table so that I get the results
Active Directory , Domain Admin , login, Valid, REV00001-----REV00001
(joined to local table), Comments
This means that people can update the comments table as it’s a local
table and the comments remain joined to the linked table for looking
at in the future…..
That all worked fine until…..
Part of the linked table changed and now there can be 2 logins with
the same reference number… so when I link the comments to it the
comments for one user also show on another if they have the same
reference…
The only way I know to add comments to the table is to link them via a
common key.. That being the rev number at the moment…
Because the users and systems and access levels are always changing
there is no way I can make a local copy and link that to the
comments..
Do you know of anyway to kind of make access take the login access
level and system.. Dump them into a table and to add the comments box
to it? Somebody told me it was a composit key but I cant work out how
the heck to get it working….
I have a linked table that links directly into a SQL database and
pulls the status of a users account that’s recorded but the audit team
when they do reviews.
So I get rows of data that tell me the
System, Access Lever, Login,Status and Review ID for each user
SO
Active Directory , Domain Admin , login, Valid, REV00001
And so on…
Now there are people that are marked as NoneValid and they need to be
looked into..
Currently I link to this table and then use my own local table to
provide a comments box that I can update..
SO…
I created a table that contains all the possible review ID's (REV00001
- REV99999999)
I then created a query that looks up the linked table and does a
"Join" with my local comments table so that I get the results
Active Directory , Domain Admin , login, Valid, REV00001-----REV00001
(joined to local table), Comments
This means that people can update the comments table as it’s a local
table and the comments remain joined to the linked table for looking
at in the future…..
That all worked fine until…..
Part of the linked table changed and now there can be 2 logins with
the same reference number… so when I link the comments to it the
comments for one user also show on another if they have the same
reference…
The only way I know to add comments to the table is to link them via a
common key.. That being the rev number at the moment…
Because the users and systems and access levels are always changing
there is no way I can make a local copy and link that to the
comments..
Do you know of anyway to kind of make access take the login access
level and system.. Dump them into a table and to add the comments box
to it? Somebody told me it was a composit key but I cant work out how
the heck to get it working….