Page 5 of 11 FirstFirst 1234567891011 LastLast
Results 61 to 75 of 165
  1. #61
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,563
    Hi Michael

    See the attached

    I created a subform for tblCremationInfo

    I added a Tab Control and added a Subform to each of the Tabs.



    You can create as many tabs as required.
    Attached Files Attached Files
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  2. #62
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,563
    Hi Michael

    You said "DepositID_FK - The Foreign key for the deposits table that it turns out I don't need"

    You DO need to keep this field in the table as it is the FK which is linked to the PK in tblDeposits.


    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  3. #63
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,563
    Hi Michael

    I take it you go to a specific Site and each Site can have Many Deposits?
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  4. #64
    Michael91 is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    May 2022
    Posts
    76
    Quote Originally Posted by mike60smart View Post
    Hi Michael

    See the attached

    I created a subform for tblCremationInfo

    I added a Tab Control and added a Subform to each of the Tabs.

    You can create as many tabs as required.
    This is really cool! I will take a look at how you made this and try to replicate it for the other deposit types! I will need to fix a lot of the other tables still but thank you, I like this format

  5. #65
    Michael91 is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    May 2022
    Posts
    76
    Quote Originally Posted by mike60smart View Post
    Hi Michael

    You said "DepositID_FK - The Foreign key for the deposits table that it turns out I don't need"

    You DO need to keep this field in the table as it is the FK which is linked to the PK in tblDeposits.

    Ah okay, I got confused - before when you asked what they were for, I thought the implication was that they shouldn't exist.

  6. #66
    Michael91 is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    May 2022
    Posts
    76
    Quote Originally Posted by mike60smart View Post
    Hi Michael

    I take it you go to a specific Site and each Site can have Many Deposits?
    Absolutely, yes. A site could be something like a settlement, with one burial (deposit) in it, or it could be a large cemetery with several hundred burials (deposits).

    One deposit will normally consist of a singe individual, either complete (an inhumation), or burnt (cremation), or buried incomplete (partial/Secondary - sometimes this could be an upper half, or they could be missing some limbs for example), or a deposit could be a single bone (disarticulated - like a decapitated head). The final category (comingled) is more complicated - this is where pieces/bones from multiple individuals are deposited together, and you can't really identify which bones belong to which person, so they are considered together as a single deposit.

  7. #67
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,563
    Hi Michael

    If the Main Focus is the Site and all related data then the attached is one way you can do this.
    Attached Files Attached Files
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  8. #68
    Michael91 is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    May 2022
    Posts
    76
    Quote Originally Posted by mike60smart View Post
    Hi Michael

    If the Main Focus is the Site and all related data then the attached is one way you can do this.
    Hi,

    Its a tricky one because I originally had my "main" table as Sites for this exact reason (see the start of this thread) - but people here rightly pointed out that my data (and the subject of all subsequent analysis) is the deposits (burials), not the sites so much. You are also right though, they are all contained within, and originate from, the sites.

    Thank you for the new version - it is excellent!

    I can't believe how helpful everyone on this forum is - its really nice to see, and as a complete beginner it is hugely appreciated

  9. #69
    orange's Avatar
    orange is online now Moderator
    Windows 10 Office 365
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    I've been away most of the day. Just looking at your latest post.
    You have identified intended storage location--great.

    Normally you have 1 table per form. If the table is related 1:M with another(s), then that/those on the many side could become subform(s) on the Main form.
    You can populate your Lookup /reference tables. Those tables that contain an ID and a constant text. eg tblDepositContexts , tblPeriod.

    Update: 6:30 PM EDT

    I just looked at Mike's version of the database and the form he suggests.
    I agree that that is the type of form conducive to data entry.

    You start with a site and identify a "deposit"-- and all of the relevant lookup values(Ids/PKs) are assigned to the proper fields in the deposit record. Record is validated either passes or fails. You may have some conditions for accepting a record that has not met all required values (you know the data and requirement better than readers).

    The provisos:
    The form should have all required lookup table values as appropriate rowsource to appropriate combos or listboxes
    The form should have a validation procedure in the BeforeUpdateEvent
    Every required control should have an acceptable value that can be validated with some vba code
    Only after all validation has occurred should the Deposits record or a related record be saved.

    You will have to confirm that all required attributes for a deposit record are available and accessible on/from the form.
    (There may be some form control value that will cause some event to fire that may calculate some necessary value to be saved in the record)


    You may have a form(s) for updating each of the Lookup tables, or additional tables if needed as project progresses

    Next steps may be:
    -identify every field in the deposit table that must be valued for an "acceptable/complete" record.
    -are those fields represented by controls on the data entry form or able to be retrieved from existing subform(s)
    -adjust/populate control tags to indicate mandatory value for validation routine
    -create validation routine with appropriate messages
    - you may want to log who added what, when for audit purposes. Such a log may be useful if, for some reasons, incomplete records have to be saved.

    I was not aware what Canmore was :Dive in and explore hidden treasures from Scotland's archaeological past. Discover twelves ages, starting in deep prehistory and journeying through time to ....

    Canmore is a city in Alberta Canada.


    You are getting good info from Mike and Vlad!! (and Ken and Scott)
    Last edited by orange; 05-12-2022 at 06:01 AM.

  10. #70
    Michael91 is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    May 2022
    Posts
    76
    I was not aware what Canmore was ive in and explore hidden treasures from Scotland's archaeological past. Discover twelves ages, starting in deep prehistory and journeying through time to ....

    Canmore is a city in Alberta Canada.

    I will reply properly later but yeah! Canmore is an incredible resource if you are interested in the history, archaeology and heritage of Scotland - it holds freely accessible records of almost every known discovery, and it is fully searchable, so you can see what is in your local area

    I actually drove through the Canadian Canmore back in 2018 - I spent a month driving across Canada and cannot wait to go back, its a truly beautiful place

  11. #71
    orange's Avatar
    orange is online now Moderator
    Windows 10 Office 365
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    Hi again Michael,
    On reviewing the thread, I went to the Microsoft forum and saw the responses. Ken and Scott are long time players in the forums and are well respected. Ken's background (archaeology) gives him some personal and technical experiences that the rest of us don't have. I go to his site to get sample databases from time to time. He is suggesting supertype/subtype which in effect is saying "Burial" is the subject of your project, and all burials have some basic data to be recorded, AND burials can be divided into specific "sub groups" each with their specific attributes.

    My responses have focused on Deposit or artefact since that was my understanding of your requirement. In this line of thinking deposit could be a person or part or a copper pot or a piece of furniture. The related tables contain values to define the who, what, where, when, how much and how often aspects of the "deposit/artefact".

    This has some implications on your data structure (tables and relationships). Ken has real experience with the subject matter, his suggested approach bears weight.

    As all responders have advised, get a data model and test it with sample data and scenarios to confirm the structure matches your needs.

    Can you describe deposit/artefact and burial now, after having received many comments?

  12. #72
    Michael91 is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    May 2022
    Posts
    76
    Quote Originally Posted by orange View Post
    Hi again Michael,
    On reviewing the thread, I went to the Microsoft forum and saw the responses. Ken and Scott are long time players in the forums and are well respected. Ken's background (archaeology) gives him some personal and technical experiences that the rest of us don't have. I go to his site to get sample databases from time to time. He is suggesting supertype/subtype which in effect is saying "Burial" is the subject of your project, and all burials have some basic data to be recorded, AND burials can be divided into specific "sub groups" each with their specific attributes.

    My responses have focused on Deposit or artefact since that was my understanding of your requirement. In this line of thinking deposit could be a person or part or a copper pot or a piece of furniture. The related tables contain values to define the who, what, where, when, how much and how often aspects of the "deposit/artefact".

    This has some implications on your data structure (tables and relationships). Ken has real experience with the subject matter, his suggested approach bears weight.

    As all responders have advised, get a data model and test it with sample data and scenarios to confirm the structure matches your needs.

    Can you describe deposit/artefact and burial now, after having received many comments?
    Hi @Orange

    Ken and Scott have been very helpful too – Ken especially because of his archaeology background.

    I apologise for the confusion over burial/deposit/artefact here – this is a terminology issue mostly, but entirely my fault. I am dealing primarily with the treatment of the dead, and archaeologists sometimes try to avoid using “burial” for this, because it doesn’t describe all treatments (not everyone is buried), so when I talk about “deposits”, I mean a single instance of human remains, as I wrote in #66:

    One deposit will normally consist of a singe individual, either complete (an inhumation), or burnt (cremation), or buried incomplete (partial/Secondary - sometimes this could be an upper half, or they could be missing some limbs for example), or a deposit could be a single bone (disarticulated - like a decapitated head). The final category (comingled) is more complicated - this is where pieces/bones from multiple individuals are deposited together, and you can't really identify which bones belong to which person, so they are considered together as a single deposit.”

    The term “deposit” could definitely apply to other things – pottery, animal bone, anything really, but I am focussed on human remains, how they are treated, and the things (artefacts) they are deposited with.

    "He is suggesting supertype/subtype which in effect is saying "Burial" is the subject of your project, and all burials have some basic data to be recorded, AND burials can be divided into specific "sub groups" each with their specific attributes."

    This is absolutely correct, and I did build my last model on this premise (when I couldn’t get the form to work), only I exchanged the term “Burial” for “Deposit” for the reason I just gave above. The issue arises when bringing in the site information also, as multiple deposits (burials, skeletons, human remains, whatever word you choose) can come from one site, which is where Mike’s layout makes more sense.

  13. #73
    Michael91 is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    May 2022
    Posts
    76
    Quote Originally Posted by orange View Post
    I've been away most of the day. Just looking at your latest post.
    You have identified intended storage location--great.

    Normally you have 1 table per form. If the table is related 1:M with another(s), then that/those on the many side could become subform(s) on the Main form.
    You can populate your Lookup /reference tables. Those tables that contain an ID and a constant text. eg tblDepositContexts , tblPeriod.

    Update: 6:30 PM EDT

    I just looked at Mike's version of the database and the form he suggests.
    I agree that that is the type of form conducive to data entry.

    You start with a site and identify a "deposit"-- and all of the relevant lookup values(Ids/PKs) are assigned to the proper fields in the deposit record. Record is validated either passes or fails. You may have some conditions for accepting a record that has not met all required values (you know the data and requirement better than readers).

    The provisos:
    The form should have all required lookup table values as appropriate rowsource to appropriate combos or listboxes
    The form should have a validation procedure in the BeforeUpdateEvent
    Every required control should have an acceptable value that can be validated with some vba code
    Only after all validation has occurred should the Deposits record or a related record be saved.

    You will have to confirm that all required attributes for a deposit record are available and accessible on/from the form.
    (There may be some form control value that will cause some event to fire that may calculate some necessary value to be saved in the record)


    You may have a form(s) for updating each of the Lookup tables, or additional tables if needed as project progresses

    Next steps may be:
    -identify every field in the deposit table that must be valued for an "acceptable/complete" record.
    -are those fields represented by controls on the data entry form or able to be retrieved from existing subform(s)
    -adjust/populate control tags to indicate mandatory value for validation routine
    -create validation routine with appropriate messages
    - you may want to log who added what, when for audit purposes. Such a log may be useful if, for some reasons, incomplete records have to be saved.

    I was not aware what Canmore was :Dive in and explore hidden treasures from Scotland's archaeological past. Discover twelves ages, starting in deep prehistory and journeying through time to ....

    Canmore is a city in Alberta Canada.


    You are getting good info from Mike and Vlad!! (and Ken and Scott)
    Thank you for al this – I am still figuring out how Access actually works, I had a lot of wrong assumptions about how I thought it did, and I appreciate the help and clarity.


    What do “rowsource” and “BeforeUpdateEvent” mean?
    Am I expected to learn “vba code”? I have zero coding experience
    Regarding incomplete records – Archaeological data is never perfect, in very few cases will all relevant fields be filled for every record. How much of an issue is this? Should I simply make a value in every combo/listbox that says “unknown” “unrecorded” or similar?

  14. #74
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,563
    Hi Michael

    A lot of your problems stem from the fact that your tables contain Fields that should be Records in a Related Table.

    Take for example the relationship between tblDeposits and tblDisarticulatedInfo.

    Attachment 47792

    All of the fields which are Yes/No should be in a separate table.
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  15. #75
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,563
    Hi Michael

    When entering data about Disarticulated Info would you enter details in the following fields:-

    ElementPresent and Side and then choose 1 value for TaphKnown, Cut, Burnt, Gnawed, Polished, Perforated or Other

    Or would you want to enter more than 1 value from TaphKnown, Cut, Burnt, Gnawed, Polished, Perforated or Other
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

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

Similar Threads

  1. Replies: 9
    Last Post: 06-15-2017, 03:00 PM
  2. Replies: 4
    Last Post: 05-03-2017, 10:04 PM
  3. multi table queries
    By omid116200@gmail.com in forum Queries
    Replies: 2
    Last Post: 07-19-2016, 09:10 AM
  4. Multi-Table Queries (Where to Start?)
    By dccjr in forum Queries
    Replies: 1
    Last Post: 04-23-2013, 06:34 PM
  5. Replies: 6
    Last Post: 12-30-2011, 09:51 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