Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
K

Kimmmmy

@Kimmmmy
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • design questions - tables to support users
    K Kimmmmy

    Yes, a person with two roles would have one login. Although in this site, I do not see that happening. (famous last words) :) I appreciate your help. I need to do some more research. Thank you for your time.

    Database help database com design tutorial

  • design questions - tables to support users
    K Kimmmmy

    Thanks for the reply. I am confusing myself - believe me. I have a working user/role table setup that is here - the memberrep table is your person table. I've used this table design for many websites. [^] Independent of the login tables -(and this is where I get confused explaining what has to happen) I have several other 'data' tables. A buyer , who will be a buyer and have a login. I want to relate the buyer to his user login. I want to do the same with a seller (another similar but different table) and yet a 3rd, salesrep. In order for my buyer to login to the admin and see his data in the buyer table, I need to relate his buyer record to his login record. I am considering adding the memberRepID to the buyer table - and then I will have the relation. But duplicate data (fname,lname,email,etc) It's like it's calling me to create seperate login tables for each external 'content' type, The buyer, seller and salesrep tables are not tables I am using to define the role. does that make sense?

    Database help database com design tutorial

  • design questions - tables to support users
    K Kimmmmy

    I am running into a problem and need another set of eyes. I am in the middle of building a database to support logins to my website (username & password) There will be different roles with different persmissions. Certain roles will have corresponding content in other tables. For example I have a buyer table, I also have a buyer role. Then I have a memberrep table that contains a record for anyone who can login to the system. One table for all logins - no mater the role. I need to connect a single buyer to a single login in the memberrep table. I will have the same issue with the sellers and the salesreps. Each will have a one to one relation to a record in the memberep table. Am I better off linking directly to the table without the 3rd table? Or can I simply add the 3 or 4 columns into the memberrep table like buyerID, sellerID, salesrepID, ect. And then only populate the ID of the login that relates to the external table? I am at a loss here.. Is there another way to make this work? Here is a screen shot of what I have already. Any issues jump right out? http://i654.photobucket.com/albums/uu269/squeakita/dbs/gpMemberstables.jpg[^] Any suggestions?

    Database help database com design tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups