Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default Two Levels of Security in Database Tool. ASP Report Maker

I am working on security for a database, and I can only list IDs in a field
named €˜ReportsTo in one column. This is kind of a stretch, but I thought
someone here may have dealt with something similar, or may be
thinking-out-of-the-box more than I am right now. The scenario is kind of
simple, lets say a SalesRep logs into the database, and wants to see all
his/her records. Ok, fine, I have the ID for the SalesRep and I know which
Director the SalesRep reports to. Same for the Director, I have this ID and
I know which VP the Director reports to. However, at the VP level, I have a
problem. The VP wants to login and wants to see all his/her records as well
as all the records of the Director under him/her, as well as all the records
of the SalesRep under the Director. So, anyway, I can go one up level, but
not two levels. I am using ASP Report Maker to create a web-based interface.

http://www.hkvstore.com/aspreportmaker/



I dont think this is possible to do what I want to do with that tool. I
have one level of security working fine, but not two levels. It would
require some kind of if€¦then statement, which I am pretty sure that asp tool
cant handle. Has anyone encountered this issue before? Anyone at all?

I know you are not supposed to multi-post, and I NEVER do it, but I feel I
need to do it this one time because I may find just one person here, or
perhaps just one person at the Excel Worksheet Functions group, which may be
able to help me out of this dilemma. This is time-sensitive and Im really
looking for a needle in a haystack here...


I try to contribute to these DGs as much as I can!!
Thanks for this, and thanks for all the help in the past.
Ryan---



--
RyGuy
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,344
Default Two Levels of Security in Database Tool. ASP Report Maker

Hi,

Are you doing this in Excel or a Database program, like Access?

--
Thanks,
Shane Devenshire


"ryguy7272" wrote:

I am working on security for a database, and I can only list IDs in a field
named €˜ReportsTo in one column. This is kind of a stretch, but I thought
someone here may have dealt with something similar, or may be
thinking-out-of-the-box more than I am right now. The scenario is kind of
simple, lets say a SalesRep logs into the database, and wants to see all
his/her records. Ok, fine, I have the ID for the SalesRep and I know which
Director the SalesRep reports to. Same for the Director, I have this ID and
I know which VP the Director reports to. However, at the VP level, I have a
problem. The VP wants to login and wants to see all his/her records as well
as all the records of the Director under him/her, as well as all the records
of the SalesRep under the Director. So, anyway, I can go one up level, but
not two levels. I am using ASP Report Maker to create a web-based interface.

http://www.hkvstore.com/aspreportmaker/



I dont think this is possible to do what I want to do with that tool. I
have one level of security working fine, but not two levels. It would
require some kind of if€¦then statement, which I am pretty sure that asp tool
cant handle. Has anyone encountered this issue before? Anyone at all?

I know you are not supposed to multi-post, and I NEVER do it, but I feel I
need to do it this one time because I may find just one person here, or
perhaps just one person at the Excel Worksheet Functions group, which may be
able to help me out of this dilemma. This is time-sensitive and Im really
looking for a needle in a haystack here...


I try to contribute to these DGs as much as I can!!
Thanks for this, and thanks for all the help in the past.
Ryan---



--
RyGuy

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default Two Levels of Security in Database Tool. ASP Report Maker

Part of it is in Excel; most of it is in Access. ASP Report Maker uses ADO
to read from Access. I have some Pivot Tables in Excel which I import into
Access, and I create some Access queries too; mostly Access stuff. I posted
here, partly because it is related to Excel, but mostly because it's here
that I've see so many absolutely brilliant solutions to many varieties of
problems. I thought I just might lucky if someone has recently done what Im
trying to do now.

Thanks,
Ryan--


--
RyGuy


"ShaneDevenshire" wrote:

Hi,

Are you doing this in Excel or a Database program, like Access?

--
Thanks,
Shane Devenshire


"ryguy7272" wrote:

I am working on security for a database, and I can only list IDs in a field
named €˜ReportsTo in one column. This is kind of a stretch, but I thought
someone here may have dealt with something similar, or may be
thinking-out-of-the-box more than I am right now. The scenario is kind of
simple, lets say a SalesRep logs into the database, and wants to see all
his/her records. Ok, fine, I have the ID for the SalesRep and I know which
Director the SalesRep reports to. Same for the Director, I have this ID and
I know which VP the Director reports to. However, at the VP level, I have a
problem. The VP wants to login and wants to see all his/her records as well
as all the records of the Director under him/her, as well as all the records
of the SalesRep under the Director. So, anyway, I can go one up level, but
not two levels. I am using ASP Report Maker to create a web-based interface.

http://www.hkvstore.com/aspreportmaker/



I dont think this is possible to do what I want to do with that tool. I
have one level of security working fine, but not two levels. It would
require some kind of if€¦then statement, which I am pretty sure that asp tool
cant handle. Has anyone encountered this issue before? Anyone at all?

I know you are not supposed to multi-post, and I NEVER do it, but I feel I
need to do it this one time because I may find just one person here, or
perhaps just one person at the Excel Worksheet Functions group, which may be
able to help me out of this dilemma. This is time-sensitive and Im really
looking for a needle in a haystack here...


I try to contribute to these DGs as much as I can!!
Thanks for this, and thanks for all the help in the past.
Ryan---



--
RyGuy

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default Two Levels of Security in Database Tool. ASP Report Maker

I got it. Problem solved.
Thanks to all who looked.
Ryan---
--
RyGuy


"ryguy7272" wrote:

Part of it is in Excel; most of it is in Access. ASP Report Maker uses ADO
to read from Access. I have some Pivot Tables in Excel which I import into
Access, and I create some Access queries too; mostly Access stuff. I posted
here, partly because it is related to Excel, but mostly because it's here
that I've see so many absolutely brilliant solutions to many varieties of
problems. I thought I just might lucky if someone has recently done what Im
trying to do now.

Thanks,
Ryan--


--
RyGuy


"ShaneDevenshire" wrote:

Hi,

Are you doing this in Excel or a Database program, like Access?

--
Thanks,
Shane Devenshire


"ryguy7272" wrote:

I am working on security for a database, and I can only list IDs in a field
named €˜ReportsTo in one column. This is kind of a stretch, but I thought
someone here may have dealt with something similar, or may be
thinking-out-of-the-box more than I am right now. The scenario is kind of
simple, lets say a SalesRep logs into the database, and wants to see all
his/her records. Ok, fine, I have the ID for the SalesRep and I know which
Director the SalesRep reports to. Same for the Director, I have this ID and
I know which VP the Director reports to. However, at the VP level, I have a
problem. The VP wants to login and wants to see all his/her records as well
as all the records of the Director under him/her, as well as all the records
of the SalesRep under the Director. So, anyway, I can go one up level, but
not two levels. I am using ASP Report Maker to create a web-based interface.

http://www.hkvstore.com/aspreportmaker/



I dont think this is possible to do what I want to do with that tool. I
have one level of security working fine, but not two levels. It would
require some kind of if€¦then statement, which I am pretty sure that asp tool
cant handle. Has anyone encountered this issue before? Anyone at all?

I know you are not supposed to multi-post, and I NEVER do it, but I feel I
need to do it this one time because I may find just one person here, or
perhaps just one person at the Excel Worksheet Functions group, which may be
able to help me out of this dilemma. This is time-sensitive and Im really
looking for a needle in a haystack here...


I try to contribute to these DGs as much as I can!!
Thanks for this, and thanks for all the help in the past.
Ryan---



--
RyGuy

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two Levels of Security in Database Tool. ASP Report Maker ryguy7272 Excel Worksheet Functions 3 October 2nd 08 01:38 AM
Security Levels and Macros JMSatMetro Excel Discussion (Misc queries) 1 September 19th 07 07:41 PM
Macro - security levels Becky Excel Discussion (Misc queries) 2 June 8th 07 03:02 AM
Security Levels in 2003 Chrispy Excel Programming 1 May 13th 05 01:42 PM
Set Security levels via macro J. Shrimp, Jr. Excel Programming 3 October 10th 03 01:43 PM


All times are GMT +1. The time now is 06:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"