Results 1 to 8 of 8
  1. #1
    gsdhsadhsadfh is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2015
    Posts
    4

    Auto-completion of two columns

    Hello

    Click image for larger version. 

Name:	Bez tytułu.png 
Views:	18 
Size:	19.4 KB 
ID:	23188

    I have two tables "Uczniowie" and "zdawalnosc" table "zdawalnosc" is empty and needs to do the query that will help in addition to her.

    The problem is that when I needed to just "uczenid" I have used LEFT JOIN and it was on, and now I have two columns which needs thus to add.

    When I had a relationship sql script looks like this:
    Code:
    SELECT Uczniowie.*, zdawalnosc.*
    FROM Uczniowie LEFT JOIN zdawalnosc ON Uczniowie.Identyfikator = zdawalnosc.uczenid;
    but how to do it with two relationships?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,952
    What is "in addition to her" - what is 'her'?

    If you want a compound key, set both fields as PK in the parent table then build relationship that has a link line on both pairs.

    I avoid compound keys.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    gsdhsadhsadfh is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2015
    Posts
    4
    Thank you for your response , but further I can not do

    https://www.dropbox.com/s/jms64cjw5zauh1s/Projekt%20do%20dyrekcji.accdb?dl=0

    This is the file , if you could see it and help me

    Table " zdawalnosc_example " and " zdawalnosc_query_example " This is the method that I use.
    However, this method allows me to transfer value only " uczenid " . I would like to move through relationship value " uczenid " and " zawodid " or "zawod" ( this is the same )

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,952
    I cannot download from dropbox. If you want to attach here, follow instructions at bottom of my post.

    However, advice already given is not altered by the additional information.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    gsdhsadhsadfh is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2015
    Posts
    4
    I'm sorry but I can not attach the file here , it gives me some error.
    I will add this file to some other hosting , maybe then it will help


    https://drive.google.com/file/d/0B2q...ew?usp=sharing

    http://wikisend.com/download/385748/db.accdb

    http://p.mnd.io/tWmYKC

    https://mega.nz/#!yBdlWC4A!symqztT4s...XIEVNjReABDaig

    http://free.mailbigfile.com/9ad7db0d.../listFiles.php


    I'm sorry for the way, but the file takes up 6MB.
    Thank you

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,952
    Sorry, cannot download from any file share site here and home internet too weak for large files.

    Unless you can reduce the file size as suggested by instructions (make copy and remove what is not needed for this issue), cannot help further.

    Did you try what I already suggested as a correction?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    gsdhsadhsadfh is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2015
    Posts
    4
    Hello again
    I cleaned database , compress , and left quite a small file , I hope that now it will be all right

    db1.zip

  8. #8
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,952
    Table relationships make no sense.

    Why is zawody table linked to 2 tables?

    Non-English makes it harder for me to understand nature of db.

    Seems you need a better understanding of relational database principles. Here is a good tutorial site http://www.rogersaccesslibrary.com/
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Split form auto resize rows and columns
    By data808 in forum Forms
    Replies: 3
    Last Post: 03-13-2014, 03:26 AM
  2. Mechanical Completion and Commissioning
    By masoud_sedighy in forum Sample Databases
    Replies: 1
    Last Post: 06-12-2013, 07:20 AM
  3. Auto-rearranging columns
    By getoutside77 in forum Access
    Replies: 1
    Last Post: 05-10-2012, 01:45 PM
  4. forecast job completion times
    By diverse1 in forum Queries
    Replies: 1
    Last Post: 10-05-2011, 01:35 PM
  5. Replies: 1
    Last Post: 10-01-2009, 06:41 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