Hi All
Not sure how to describe this but here goes.
I have a table as below:
PrimaryKeyID (Autonumber) FRTRatesID (linked to FRTRates table) Name Value OrderBy
PrimaryKeyID - Standard issue autonumber, no duplicates unique for each record
FRTRatesID - A unique number from FRTRates table, however on this table can be multiple records with the same number (so they all link to 1 record on FRTRates table)
Name - Simply a text field for the value name
Value - Currency value
OrderBy - This is the field I need help with, I want it to autonumber starting from 1 for each unique FRTRatesID number..
So an example of what I want a set of data to look like:
PrimaryKeyID (Autonumber) FRTRatesID (linked to FRTRates table) Name Value OrderBy 1 1 Terminal $100 1 2 1 Docs $50 2 3 1 Admin $30 3 4 2 Terminal $200 1 5 2 Docs $100 2 6 2 Admin $80 3
So you can see for FRTRateID 1 there is 1, 2, 3 in the OrderBy, same for FRTRateID2, I want this OrderBy to autopopulate.
This is so a user later on in the database can change them to order however they like, so if they wanted Docs to be first they could change it to a 1 etc.
Is this possible?
Cheers