I have two tables, Account and SystemConfiguration. Account primary key is accAccountID, this is tied to SystemConfiguration table by sysAccountID, foreign key. SystemConfiguration has its own primary key sysSystemConfigID. How can I group records together?
Example
accAccountID sysSystemConfigID
1 1
1 2
1 3
2 4
2 5
2 6
The purpose of this is that one Account can have multiple system config records. I need to be able to go back and do some calculation by subtracting from the previous sysSystemConfigID
This is another example
sysAccountID sysSystemConfigID
5 7
5 8
5 12
Is that possble to keep these grouped. I want to subtract a field from sysSystemConfigID 12 from the field that has sysSytemConfigID 8. Is that possible in access?
This scenerio is when a user wants to go back and add another system to an existing account and still be able to subtract from the previous sysSystemConfigID even if sysSystemConfigID is not in order.
Example
accAccountID sysSystemConfigID
1 1
1 2
1 3
2 4
2 5
2 6
The purpose of this is that one Account can have multiple system config records. I need to be able to go back and do some calculation by subtracting from the previous sysSystemConfigID
This is another example
sysAccountID sysSystemConfigID
5 7
5 8
5 12
Is that possble to keep these grouped. I want to subtract a field from sysSystemConfigID 12 from the field that has sysSytemConfigID 8. Is that possible in access?
This scenerio is when a user wants to go back and add another system to an existing account and still be able to subtract from the previous sysSystemConfigID even if sysSystemConfigID is not in order.