Hi, <br><br>I have a form (orders) with a sub form that allows the user to select products to include. The sub form uses (SELECT DISTINCTROW Order Details.*,...) as its query. What I'd like to is incrementally number each item/record as the user adds it to the list. In effect, line numbering...<br><br>At this stage any solution would be great. Ideally I'd like the field displaying the line number to also write that out to the order details table (not orders table), but even just displaying simple line numbering in the form with no write-out, updated after any items are added would be great.<br><br>Can anyone give me some pointers on how to achieve this please?<br><br>Thanks, Jon.