Results 1 to 10 of 10
  1. #1
    Finser is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    18

    Question Access realation ships one to many showing no symbols

    hello all,



    i am making a database with a lot of events. each events (table events) haves several different individuals(general individue) and each individu has many information which are also linked to different tables for exsample, mesurements, biology, reproduction ect.. so they are all one-to-many relationships, but from the events table to the general table, in the relationship overview has not got any symbols like the 1 and the rotated 8 . but from the from the genral to the other tables the symbols do apear. see pic for the idear. the enforce the intergety is truned off, because other wise i get the error see pic.
    Click image for larger version. 

Name:	relationship idear.PNG 
Views:	7 
Size:	28.0 KB 
ID:	13478Click image for larger version. 

Name:	fout mel.PNG 
Views:	6 
Size:	43.9 KB 
ID:	13479

    does this matter over time? or is there another way to for come this. because there has to be 2 autonumers in the gerenal table.

    i hoping someone has an idear.

    Finser,

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    The events table is Stranding? What is the join type between Stranding and General? Is it INNER type? Is StrandingID an autonumber? Is StrandingNUM a number type?
    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
    Finser is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    18
    Yes events table is the stranding table,
    the join type between stranding and the general is an the option 1. and the realtionship type is one to many.
    yes strandid is an autonumber.
    and standNUM is an autonumber, but this don't have to be of course, but how do i do this right?

    thanks,
    Finser

  4. #4
    Finser is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    18
    ow and AlimentaryID is an text field, should i turn this around. and make AlimentaryID an autonumber and the strandNUM id an numertype and then link this to the strandid, but how do i make this link?

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    Why would you link Alimentary and Stranding tables?

    Cannot link two autonumber fields.

    StrandingID in Stranding Table should be autonumber.

    StrandingNUM in General table should be a number (long integer) type.
    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.

  6. #6
    Finser is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    18
    Quote Originally Posted by June7 View Post
    Why would you link Alimentary and Stranding tables?

    Cannot link two autonumber fields.

    StrandingID in Stranding Table should be autonumber.

    StrandingNUM in General table should be a number (long integer) type.

    stranding table (events) should link to the generaltable (because in this table there are many individuals which where there on the same event)
    the Alimentary and so ford should link to every indiviual, but in the end in the form of report we want to see which individue belongs to which event.

    so each record in the stranding table --->> has many indiviuals which are recorded in the genral table ---> and each indiviual has many differnt set of data (which is to many and big to put in one table)--->>the other tables Alimentary is the other extra data from one individual.

    i hope it is clearer now if not tell me.

    thanks,

    Finser

  7. #7
    recyan's Avatar
    recyan is offline Expert
    Windows 2K Access 2000
    Join Date
    Dec 2011
    Posts
    662
    Quote Originally Posted by June7 View Post
    Cannot link two autonumber fields.

    StrandingID in Stranding Table should be autonumber.

    StrandingNUM in General table should be a number (long integer) type.
    Till June's back,
    Have you tried June's suggestion ?
    If yes, what happened ?

    Thanks

  8. #8
    Finser is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    18
    wow !! it worked . the StrandingNUM was just in integer type so i changed this in long integer, thanks for the help. why is this one thing so important for the referential integrity?

  9. #9
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    PK and FK fields must be same type. Autonumber is a long integer.
    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.

  10. #10
    Finser is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    18
    oke cool ! thanks

    finser

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

Similar Threads

  1. Symbols in the data (problem?)
    By dccjr in forum Access
    Replies: 2
    Last Post: 02-27-2013, 07:01 PM
  2. Help Forms not showing up in access
    By SirDrums in forum Forms
    Replies: 1
    Last Post: 02-08-2012, 05:16 PM
  3. Showing % Sign in Access
    By jo8701 in forum Access
    Replies: 4
    Last Post: 02-08-2012, 10:47 AM
  4. Microsoft Access Relations Ships and Forms
    By rajgoyal00 in forum Forms
    Replies: 6
    Last Post: 11-21-2010, 10:09 AM
  5. The search for "quote symbols"
    By Dadmail in forum Queries
    Replies: 1
    Last Post: 03-18-2009, 10:52 AM

Tags for this Thread

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