H
hsdaguilar
Hello,
I have two tables. 1) Project Table- has a Project Id (autonumber) and holds
records on various projects. 2) Entitlement Table- has Project Id (linking to
Project TAble), Entitlement Type and Entitlement Id.
There are various Entitlement types and each one has it's own set of records.
Example: PDP (entitlement) has 1700 records, while CUP (entitlment) has 800.
Various Entitlments can be associated with each project.
My question is this. I have a form, with both tables, the Entitlement being
a subform. I would like to be able to select the Entitlment type from a drop
down box and then the Entitlement Id automatically updates with the next
record number for the selected entitlement type. So if I select CUP the id
number should update with 801 and not 1701, etc.
I thought the dmax button could come in handy, but do not know how to make
it look up the Entitlement type first. Dlookup? Your help would be greatly
appreciated.
Thank you.
I have two tables. 1) Project Table- has a Project Id (autonumber) and holds
records on various projects. 2) Entitlement Table- has Project Id (linking to
Project TAble), Entitlement Type and Entitlement Id.
There are various Entitlement types and each one has it's own set of records.
Example: PDP (entitlement) has 1700 records, while CUP (entitlment) has 800.
Various Entitlments can be associated with each project.
My question is this. I have a form, with both tables, the Entitlement being
a subform. I would like to be able to select the Entitlment type from a drop
down box and then the Entitlement Id automatically updates with the next
record number for the selected entitlement type. So if I select CUP the id
number should update with 801 and not 1701, etc.
I thought the dmax button could come in handy, but do not know how to make
it look up the Entitlement type first. Dlookup? Your help would be greatly
appreciated.
Thank you.