Results 1 to 6 of 6
  1. #1
    mar7632 is offline Advanced Beginner
    Windows 8 Access 2016
    Join Date
    Feb 2019
    Location
    Spain - Madrid
    Posts
    72

    help with database design

    Hi again,


    I am developing a database which deals with the state of the projects

    In the first database I have one table called "aa_DatosRecibidos". Among the fields I have [CodigoRFQ].

    When [Código RFQ] is approved, then it is transfered to another Database which has 3 tables (T_codigoApproved (1 - 1) T_ProjectData (1-infinite) T_Phases )

    My idea is to introduce in a form (in the second database) a comb box which looks up for one table´s record from the first database and when a button is clicked (confirming the operation) then transfer only that record. This comb box has to be designed to select the [CodigoRFQ] which is unique. And then, continue filling T_ProjectData and T_Phases data by using forms and subforms.

    But, in my experience:

    When building a database with all table´s relationships at the beggining. I have problem related to transfer data from an excel file to my access form which has a few tables in there. One of them received all the data from the excel and the other tables were used to introduced information manually. However, It seemed that the id´s field from the other tables did not update when exporting the information from Excel. But it works when the data is written by hand.



    So, how do I design this second database in order to be functional?
    Is it possible to build this comb box in order to select by [CodigoRFQ] a certain record and import it to the second database?

    Thank you in advance.

  2. #2
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,205
    Suggest you research Referential Integrity which is used to keep tables synchronised
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  3. #3
    mar7632 is offline Advanced Beginner
    Windows 8 Access 2016
    Join Date
    Feb 2019
    Location
    Spain - Madrid
    Posts
    72
    Ok, thank you for your reply.
    Do you know the second question? To select a field from another database and copy all the record into the new database?

  4. #4
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 10 Access 2016
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,538
    see my response to your other post on this matter

    https://www.accessforums.net/showthread.php?t=76691

  5. #5
    mar7632 is offline Advanced Beginner
    Windows 8 Access 2016
    Join Date
    Feb 2019
    Location
    Spain - Madrid
    Posts
    72
    Thank you again for your response

    Okay, So in order to send all the information I will use the code provided in this post (which I tested and works) https://www.accessforums.net/showthread.php?t=76691

    How do I transfer the data from one database to another?

    Thank you in advance.
    Last edited by mar7632; 04-29-2019 at 05:17 AM. Reason: sentence

  6. #6
    orange's Avatar
    orange is online now Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    mar7632,
    I recommend that you step back and describe to readers:
    -an overview of the business you are trying to support with this proposed database in simple, clear terms
    -a brief description of these different databases you reference
    -a description of the excel file and how it fits into the "bigger picture".

    Relationships in database are a reflection of the rules/facts within the business.
    For example, a Customer may have 1 or Many Orders.

    See the Database Planning and Design link in my signature for more info.

    Good luck with your project.

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

Similar Threads

  1. Replies: 9
    Last Post: 06-23-2018, 10:25 PM
  2. Replies: 18
    Last Post: 12-04-2017, 05:25 PM
  3. Replies: 3
    Last Post: 01-13-2017, 03:52 PM
  4. Replies: 2
    Last Post: 01-28-2013, 04:42 PM
  5. Database Design for Specification Database
    By khwaja in forum Database Design
    Replies: 2
    Last Post: 11-24-2011, 03:58 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