hullstorage
Registered User.
- Local time
- Today, 05:48
- Joined
- Jul 18, 2007
- Messages
- 213
Hi all i need urgently if any body can help with the following
i have finally got my customers, invoice and invoice detail to communicate with each other ( finally ).
but what i am trying to do is on my form i have the invoice as the header and the invoice detail subform below
and i am using the dmax funtion to create the invoice number.
the problem i am having is when i select a customer to create another order for them this creates a new invoice number with a new order everytime, but i want it to when i select the customer if they alreay have orders placed to populate the subform with these and use the invoice number already in place then when i select another customer if there are no orders, then create a new invoice number
any help please
thanks
simon
i have finally got my customers, invoice and invoice detail to communicate with each other ( finally ).
but what i am trying to do is on my form i have the invoice as the header and the invoice detail subform below
and i am using the dmax funtion to create the invoice number.
the problem i am having is when i select a customer to create another order for them this creates a new invoice number with a new order everytime, but i want it to when i select the customer if they alreay have orders placed to populate the subform with these and use the invoice number already in place then when i select another customer if there are no orders, then create a new invoice number
any help please
thanks
simon