Our users have asked for a custom line number field for Sales Lines. They want a simple integer that would be renumbered whenever new lines are inserted or existing lines are deleted.
I have written code that renumbers lines on the SalesTable form whenever new lines are inserted and deleted. However, only the last line selected gets updated in the database when the user closes the form or steps off the line. Is there any way to force an update on all of the lines when they get renumbered?
Right now, I am doing this with an update event on the SalesLine table, and that works with some minor screen flickering on the SalesLine grid. However, since this is an event on the SalesLine table itself, it will result in a significant performance hit whenever sales lines are bulk loaded.
*This post is locked for comments