N
niuginikiwi
I have a report that gets printed with partially completed sales orders and
is filtered to sales orders for OrderDate field.
I have tblOrders and tblOrderDetails. A tblCustomer and
tblCustomerDestination are related to tblOrders with one to many
relationships. tblCustomer is independent of tblCustomerDestination. They
both have their PKs as FKs in tblOrders but are not related to each other
directly.
But one custome can have more than one destionations (maybe a
table/relationship design issue here)
What I want to do is to have orders taken and entred in any order as they
can but sorted to a specific order to be printed.
Eg:
A customer called MG has destinations Christchurch, Dunedin, Wellington and
customer PDL has destination Christchurch, Wellington.
I want the report to be in this order when printed:
PDL - Christchurch
MG-Dunedin
PDL - Wellington
MG-Wellington
MG-Christchurch
Hope I explained this one well.
Thanks.
is filtered to sales orders for OrderDate field.
I have tblOrders and tblOrderDetails. A tblCustomer and
tblCustomerDestination are related to tblOrders with one to many
relationships. tblCustomer is independent of tblCustomerDestination. They
both have their PKs as FKs in tblOrders but are not related to each other
directly.
But one custome can have more than one destionations (maybe a
table/relationship design issue here)
What I want to do is to have orders taken and entred in any order as they
can but sorted to a specific order to be printed.
Eg:
A customer called MG has destinations Christchurch, Dunedin, Wellington and
customer PDL has destination Christchurch, Wellington.
I want the report to be in this order when printed:
PDL - Christchurch
MG-Dunedin
PDL - Wellington
MG-Wellington
MG-Christchurch
Hope I explained this one well.
Thanks.