franc75
New member
- Local time
- Today, 03:20
- Joined
- Mar 3, 2005
- Messages
- 6
Hi all - Need some help!
I am creating a database to keep a record of incoming orders. My main table has the following fields, which is linked to a form for easy input:
Ref - (Autonumber) for a unique reference
Date - (Date) Order Date
Customer - (Text) Customers Name
Details - (Text) - Description of Goods
Pcs - (Number) - No Items
Weight (Number) - Weight
No problem there. The difficult bit is, (and I'm not sure how best to explain this) ...
I now want to add another field: OrderNo, which will start at the beginning of the week (say, Monday) at zero, and increase by 1 automatically each time a new order is added. These numbers are to remain as part of the record permanently, but come next Monday, I want to start from zero again for that weeks orders and so on.
Does anyone have any ideas how to implement this automatically when the record is created ?
I am creating a database to keep a record of incoming orders. My main table has the following fields, which is linked to a form for easy input:
Ref - (Autonumber) for a unique reference
Date - (Date) Order Date
Customer - (Text) Customers Name
Details - (Text) - Description of Goods
Pcs - (Number) - No Items
Weight (Number) - Weight
No problem there. The difficult bit is, (and I'm not sure how best to explain this) ...
I now want to add another field: OrderNo, which will start at the beginning of the week (say, Monday) at zero, and increase by 1 automatically each time a new order is added. These numbers are to remain as part of the record permanently, but come next Monday, I want to start from zero again for that weeks orders and so on.
Does anyone have any ideas how to implement this automatically when the record is created ?