LiquidMetal
New member
- Local time
- Today, 05:04
- Joined
- Dec 4, 2012
- Messages
- 5
Hi
I have a table called tblPMDP
PMDPID (PK autonumber)
PMDID (FK)
CostTypeID (Number)
CostType
ProcessPrice
UNID (Number)
What I want to do is to get:
PMDID & CostTypeID
into UNID as soon as the table receives both values
By combining these 2 values I get a unique number which I want to use to limit duplications. The PK is no good as each event is unique whereby I want to be able to use PMDID for other purposes too.
I have made UNID an Index with unique = yes. but it does not populate.
I also tried using an append query but it adds the values in addition to the values already into the table.
Thanks
I have a table called tblPMDP
PMDPID (PK autonumber)
PMDID (FK)
CostTypeID (Number)
CostType
ProcessPrice
UNID (Number)
What I want to do is to get:
PMDID & CostTypeID
into UNID as soon as the table receives both values
By combining these 2 values I get a unique number which I want to use to limit duplications. The PK is no good as each event is unique whereby I want to be able to use PMDID for other purposes too.
I have made UNID an Index with unique = yes. but it does not populate.
I also tried using an append query but it adds the values in addition to the values already into the table.
Thanks