I have a form (fOrderHead) with a subform (fOrderItem). The subform may contain several items which might be delivered at different times. I want the user to be able to select one or many items in the subform that are ready for delivery, press a 'button' that will generate a 'Delivery Note' with a unique Delivery Note No. for the items selected which will be stored in the table tDeliveryNotes and displayed as a report in Print Preview. There will be no part shipments of individual items.
I got as far as selecting the items using a check box and passing the information to a query that the delivery note will be based on but couldn't figure out how to generate a unique DNote No and store the info in the DNote table.
Any help much appreciated
I got as far as selecting the items using a check box and passing the information to a query that the delivery note will be based on but couldn't figure out how to generate a unique DNote No and store the info in the DNote table.
Any help much appreciated