Results 1 to 6 of 6
  1. #1
    ThorstenG is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2015
    Posts
    8

    Creating Database

    Hi its been a while since I've been on here..

    I just have a couple of questions if someone is able to help me and without trawling through hundreds of links and how to's...



    Am trying to create a Database where I have a number of records all with unique details.
    From this I basically need an approval process.. So a record is created through a Form then entered into the main table tMainRec, from there on wards I dont know what to do...

    Do i need a separate table with all the Departments that need to approve the new record, and how do I link this to the tMainRec? i.e. new columns for each department with a yes or no within it?

    how would I see how each record is approved.. or if it is indeed approved? if anyone has a sample it would be even better.

    Many thanks.

    Thorsten

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    Yes, I would have a tDept.

    [Dept], [Manager]
    Accting, Bob
    Maint, Jerry
    ..etc

    then in the form youd have a combo box with data from the tDept table.
    when users enter data into a record, they would pick the dept from the list. (no join needed)

    The record would have [APPROVED] field, (using the managers name?) this too could be a combo to pick from.

  3. #3
    ThorstenG is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2015
    Posts
    8
    Quote Originally Posted by ranman256 View Post
    Yes, I would have a tDept.

    [Dept], [Manager]
    Accting, Bob
    Maint, Jerry
    ..etc

    then in the form youd have a combo box with data from the tDept table.
    when users enter data into a record, they would pick the dept from the list. (no join needed)

    The record would have [APPROVED] field, (using the managers name?) this too could be a combo to pick from.
    Hi ranman,

    thanks for your reply - ive attached a picture of the database (all sensitive info has been taken out) thats as far as i've got but am unsure how to link the two?
    Click image for larger version. 

Name:	Capture.PNG 
Views:	11 
Size:	168.8 KB 
ID:	21557
    Could you possibly have a look please?

    Cheers

  4. #4
    ThorstenG is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2015
    Posts
    8
    Also... more than one department has to approve the record.. how would I work that in?

  5. #5
    LaughingBull is offline Competent Performer
    Windows 8 Access 2003
    Join Date
    Jul 2015
    Location
    Toledo Ohio
    Posts
    143

  6. #6
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    If the departments that must sign off on a project are the same for every project you can set up a default structure for every new project. If each project requires a different set of departments to sign off you can do it through data entry, but either way you *should* use a junction table to connect tMainRec to tDepartment

    i.e.
    Code:
    tblMainDeptJunction
    MDJ_ID  MR_ID  D_ID  Pers_ID  Signoff_Date ---> other signoff related fields
    PK = Primary key
    FK = Foreign key

    Where MDJ_ID is the PK of the table, MR_ID is the main record FK, D_ID is the department FK, Pers_ID is the personnel FK and the signoff_Date is self explanatory

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Help with creating database
    By SamP in forum Access
    Replies: 3
    Last Post: 09-19-2013, 01:19 AM
  2. Creating an FAQ database
    By rescobar in forum Database Design
    Replies: 14
    Last Post: 08-01-2013, 02:53 PM
  3. need help creating database
    By johnnyb in forum Access
    Replies: 1
    Last Post: 02-18-2013, 10:10 AM
  4. Creating First Database
    By marrone12 in forum Database Design
    Replies: 1
    Last Post: 09-08-2011, 05:02 PM
  5. Creating database
    By ramzyamal in forum Database Design
    Replies: 1
    Last Post: 05-07-2007, 08:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums