Hi
I've been tasked with rebuilding (starting again!) a database at work, but only have limited knowledge of Access so apologies in advance.
What we want to do is link multiple context records (archaeological term for a wall, ditch, soil layer etc) to multiple photo records. eg CONTEXT 1 is shown in Photo 1, 2 and 4, and PHOTO 1 shows Context 1, 10 and 11. PHOTO 2 shows Context 2 and 3. etc etc. From this information we should be able to run various queries and reports eg CONTEXT by PHOTO number etc.
1) We currently have separate tables for Context and Photo (which both contain other fields), and we've linked these through a third table containing only fields for PhotoNo and ContextNo (see attached image). We've done this because its the only way we can see that it's possible to join multiple contexts to multiple photos but if there is there a better way of doing this I'd appreciate the advice.
2) However we then come to the forms for each table, and I am unsure how to best add the info. Ideally we want enter the Photo details on one form (including the PhotoNo and some other details, but excluding ContextNo). On a separate form we then want to add the Context details (inc ContextNo) and link it to the relevant photo(s). Because there could be multiple ones ideally we want a button to a third form which automatically inserts the ContextNo from the previous form into it so you only need to add the PhotoNo.
Obviously if there is a simpler/better way of doing 1) it may change how we go about 2) but I hope that makes some sort of sense - any help would be much appreciated.
I've been tasked with rebuilding (starting again!) a database at work, but only have limited knowledge of Access so apologies in advance.
What we want to do is link multiple context records (archaeological term for a wall, ditch, soil layer etc) to multiple photo records. eg CONTEXT 1 is shown in Photo 1, 2 and 4, and PHOTO 1 shows Context 1, 10 and 11. PHOTO 2 shows Context 2 and 3. etc etc. From this information we should be able to run various queries and reports eg CONTEXT by PHOTO number etc.
1) We currently have separate tables for Context and Photo (which both contain other fields), and we've linked these through a third table containing only fields for PhotoNo and ContextNo (see attached image). We've done this because its the only way we can see that it's possible to join multiple contexts to multiple photos but if there is there a better way of doing this I'd appreciate the advice.
2) However we then come to the forms for each table, and I am unsure how to best add the info. Ideally we want enter the Photo details on one form (including the PhotoNo and some other details, but excluding ContextNo). On a separate form we then want to add the Context details (inc ContextNo) and link it to the relevant photo(s). Because there could be multiple ones ideally we want a button to a third form which automatically inserts the ContextNo from the previous form into it so you only need to add the PhotoNo.
Obviously if there is a simpler/better way of doing 1) it may change how we go about 2) but I hope that makes some sort of sense - any help would be much appreciated.