×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Proprietary Data on Intranet

Proprietary Data on Intranet

Proprietary Data on Intranet

(OP)
Hello Folks,

I hope this isn't too long winded. I'm developing an application for a corporate intranet that handles proprietary chemical data for different clients.  I need help with some design aspects.

I need to design a form that allows different client managers to enter client specific data into a community data table, view/edit the data that they've entered, but not be able to view any other client's data in the same table.  I envision using just one table since there are lots of clients (100+) and individual tables for each one seems cumbersome.

I have a password protected login procedure to identify the person on-line and my idea for the data entry screen is to use a grid control attached to the community table for data entry.  My problem is how do I restrict the view of the data to just the data appropriate to the client manager in a multi user environment.  Or is there a better concept I should be using.  Any information would be greatly appreciated as this is my first multi user and on-line application.

RE: Proprietary Data on Intranet

There are several ways, assuming you'll have a CLIENTMGRID column in the table:

    1) set filter (easy but poor performer)
    2) create an updatable view with a bind parameter for the CLIENTMGRID column.

The way #2 works is you'll create a view in the View Designer; in the WHERE clause, you'll have something that evaluates to:  CLIENTMGRID = ?gcCLIENTMGRID
then in the login screen, set gcCLIENTMGRID to the logged-in user's ID.

I'm sure others can come up with some other approaches that may be even better suited to you.

Robert Bradley

FoxDev - Visual FoxPro Development

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close