I have an invoice form (frminvoicedetail) that contains a subform (frminvoiceDetailSubform) based on a table (tbltempdet). Each row in the table is a separate line on the invoice. One of the table's fields is called ORDR, which is the order the rows will be printed on the invoice. When the user enters an invoice line, the ORDR field is entered by the program and is incremented by one. Periodically the user needs to change the entry order of a previously entered row, and will click on the ORDR field in the subform and change the field to indicate where the row is to appear on the invoice (they might change from 05 to 02 to move the line higher). I would then like to go to the table and renumber all of the numbers in ORDR starting with 01, and putting the changed row in its new place. I do have the ORDERBY property in the subform set to ORDR.
I don't know how to access the tbltempdet in the subform to do this. I hope this question makes sense.
Thanks.
I don't know how to access the tbltempdet in the subform to do this. I hope this question makes sense.
Thanks.