Denise2020
Member
- Local time
- Today, 07:22
- Joined
- Mar 31, 2020
- Messages
- 82
I am trying to work this out in my head and so far I am having little luck and thought perhaps all the geniuses here might have some insight for me. I apologize ahead of time if I supply more information than needed but it does help to talk it out. Thanks for your patience!
Short story: I have a database with four main tables and forms for each. Ideally, I would like all four table groups to work together, but am struggling with how to set up those relationships to make it work.
Very long background:
I have a very complex (to me) database that I created for work as a total novice. I was given four gigantic and unwieldy excel documents years ago and originally created four databases. It is in use by four people. Over the years I have tried to read up on best practices (I am youtube-taught so my skills are about zero) to make (hopefully) improvements.
There was so much cross-over information in the four databases I decided to combine them into one, which has worked quite well. Right now it comprises:
1) an Ordnance Table (ammunition, rockets, bombs, mines, etc.) listing all objects in our files. Each object has an official ObjID# and ObjName for reference.
2) a Library Table listing all physical and digital media we have, including books, pdf files, physical discs, catalogues, and more that has to do with ordnance but often not just about one object, but many, sometimes none at all. A book might be about military in general and not reference any objects specifically; but a single book or catalogue could reference a hundred different items. There is no "ObjName" field specifically to simply create a relationship to in the Ordnance table and I am having trouble figuring out how to relate one book to multiple ordnance objects. This table currently has a "Notes" field where I list all objects that the book references (not pretty, but it works).
3) a Blueprints Table cataloging all blueprints (8000+ at the moment) of individual items of ordnance which are too large (A0 size) to fit in the file cabinets, which are scanned into a digital file. There is also no ObjName field here, HOWEVER, I am working on creating one. The person I inherited this list from had an insane excel file that no one could figure out as he retired and had notes only he understood. One Ordnance object can have several blueprints, but no blueprint can belong to more than one Ordnance object.
4) a Jobs Table of all requests for help/info we get from outside sources which creates a job for one of us, which we call support errands, and reference ammunition ordnance from the ordnance table. Many jobs can relate to one or many objects, or the same object several times. There is no specific ObjName field here either, and is typically referenced either in the JobTitle, JobDescription, or JobResult (my field names are different but I am writing for ease of reference).
So some examples:
- We have a book that references 28 objects and I would like to note on each of those objects that there is a book available that contains information on said object/s.
- We receive a request for help from the police or another military agency where they are trying to identify an object. Once we have identified it, a reference to that object should be made somehow (I think of this like a product and a sale, since there can be many "sales" (requests for information) on one single product).
So right now I have this all set up as four tables with four different forms but they don't work together. If i want to find an object in the #1 catalogue/file cabinets, I go to that form. If I want to see if there are also books in our library or digital files about that object, I have to switch over to the library form, and of course the same goes for Support Errands and Blueprints. I have yet to figure out how to create relationships as it isn't quite as simple as "Product Cheese", "Sales of Cheese", "Pictures of Cheese", and a list of "Books about Cheese", at least in my head.
Is there a way to do this? The easiest one I can think of joining is the blueprints to objects tables, but even that one I cannot really figure out which fields to join in relationships without creating a new field in the blueprints table specifically for referencing to the Ordnance Table. The Support Errands and Library are even more difficult for me.
So again, ideally, I would like all four table groups to work together, with one single search form, so that if I search one object name, not only do I get that object as a result from the ordnance table, but also can see if we have any books which reference that object, any blueprints, and if there are any current or past jobs that have referenced that object. Am I totally in over my head?
I am truly thankful for your patience and kind help in reading through all of this and lending your thoughts. Have a great day and looking forward to your replies!
Short story: I have a database with four main tables and forms for each. Ideally, I would like all four table groups to work together, but am struggling with how to set up those relationships to make it work.
Very long background:
I have a very complex (to me) database that I created for work as a total novice. I was given four gigantic and unwieldy excel documents years ago and originally created four databases. It is in use by four people. Over the years I have tried to read up on best practices (I am youtube-taught so my skills are about zero) to make (hopefully) improvements.
There was so much cross-over information in the four databases I decided to combine them into one, which has worked quite well. Right now it comprises:
1) an Ordnance Table (ammunition, rockets, bombs, mines, etc.) listing all objects in our files. Each object has an official ObjID# and ObjName for reference.
2) a Library Table listing all physical and digital media we have, including books, pdf files, physical discs, catalogues, and more that has to do with ordnance but often not just about one object, but many, sometimes none at all. A book might be about military in general and not reference any objects specifically; but a single book or catalogue could reference a hundred different items. There is no "ObjName" field specifically to simply create a relationship to in the Ordnance table and I am having trouble figuring out how to relate one book to multiple ordnance objects. This table currently has a "Notes" field where I list all objects that the book references (not pretty, but it works).
3) a Blueprints Table cataloging all blueprints (8000+ at the moment) of individual items of ordnance which are too large (A0 size) to fit in the file cabinets, which are scanned into a digital file. There is also no ObjName field here, HOWEVER, I am working on creating one. The person I inherited this list from had an insane excel file that no one could figure out as he retired and had notes only he understood. One Ordnance object can have several blueprints, but no blueprint can belong to more than one Ordnance object.
4) a Jobs Table of all requests for help/info we get from outside sources which creates a job for one of us, which we call support errands, and reference ammunition ordnance from the ordnance table. Many jobs can relate to one or many objects, or the same object several times. There is no specific ObjName field here either, and is typically referenced either in the JobTitle, JobDescription, or JobResult (my field names are different but I am writing for ease of reference).
So some examples:
- We have a book that references 28 objects and I would like to note on each of those objects that there is a book available that contains information on said object/s.
- We receive a request for help from the police or another military agency where they are trying to identify an object. Once we have identified it, a reference to that object should be made somehow (I think of this like a product and a sale, since there can be many "sales" (requests for information) on one single product).
So right now I have this all set up as four tables with four different forms but they don't work together. If i want to find an object in the #1 catalogue/file cabinets, I go to that form. If I want to see if there are also books in our library or digital files about that object, I have to switch over to the library form, and of course the same goes for Support Errands and Blueprints. I have yet to figure out how to create relationships as it isn't quite as simple as "Product Cheese", "Sales of Cheese", "Pictures of Cheese", and a list of "Books about Cheese", at least in my head.
Is there a way to do this? The easiest one I can think of joining is the blueprints to objects tables, but even that one I cannot really figure out which fields to join in relationships without creating a new field in the blueprints table specifically for referencing to the Ordnance Table. The Support Errands and Library are even more difficult for me.
So again, ideally, I would like all four table groups to work together, with one single search form, so that if I search one object name, not only do I get that object as a result from the ordnance table, but also can see if we have any books which reference that object, any blueprints, and if there are any current or past jobs that have referenced that object. Am I totally in over my head?
I am truly thankful for your patience and kind help in reading through all of this and lending your thoughts. Have a great day and looking forward to your replies!