bharathsadanand
Registered User.
- Local time
- Tomorrow, 00:25
- Joined
- Nov 21, 2012
- Messages
- 15
HI All,
I have 2 tables Orders and OrderDetails.
The Order ID is the primary key in Orders and is a foreign key in OrderDetails.
OrderDetailID is the primay key in the OrderDetails table.
Now I have an Orders form with an OrderDetailsSubform
What I want to do is create a sequential record number for all order details starting from 1, append it to the Order ID and save it to OrderDetailID.
It should look something like this
1.1
2.1
3.1 ... for 3 records with Order ID as 1.
For Order ID as 2
1.2
2.2
3.2 etc.
any help will be appreciated.
I have 2 tables Orders and OrderDetails.
The Order ID is the primary key in Orders and is a foreign key in OrderDetails.
OrderDetailID is the primay key in the OrderDetails table.
Now I have an Orders form with an OrderDetailsSubform
What I want to do is create a sequential record number for all order details starting from 1, append it to the Order ID and save it to OrderDetailID.
It should look something like this
1.1
2.1
3.1 ... for 3 records with Order ID as 1.
For Order ID as 2
1.2
2.2
3.2 etc.
any help will be appreciated.