Hi,
Can anybody help please. I'm sure this is quite straight forward, but I have searched through the site and can't find anything that quite matches my query and I'm no good with VB
So here goes,
I have two forms, one being a subform into which Sales Order data will be entered. What I want the user to be able to do is to keep looping through the subform adding detail lines until the order is complete.
I need the line number on the subform to increment by one each time the user selects 'add more order lines' and then to reset on 'add new order'.
I tried using Dmax which works, but I don't know how to reset the line number on a new sales order.
Any help would be appreciated and it will save me another day of searching.............
Can anybody help please. I'm sure this is quite straight forward, but I have searched through the site and can't find anything that quite matches my query and I'm no good with VB
So here goes,
I have two forms, one being a subform into which Sales Order data will be entered. What I want the user to be able to do is to keep looping through the subform adding detail lines until the order is complete.
I need the line number on the subform to increment by one each time the user selects 'add more order lines' and then to reset on 'add new order'.
I tried using Dmax which works, but I don't know how to reset the line number on a new sales order.
Any help would be appreciated and it will save me another day of searching.............