You good people,
I'm sure this is a ridiculously easy question, but I can't seem to find an answer on the web and can't figure it out by myself. I would like to use a script to enter a consecutive serial number into a field, exactly the way the auto-enter serial number function does, but I cannot find the right command. What I'm looking for is "auto-enter serial number, but only when I tell you to."
An example: Customers fill in an order form (a record), but sometimes they leave one blank and jump to the next without knowing and I end up with a bunch of useless records floating around that would all be assigned an auto-enter invoice number. An invoice number should only be created and assigned to a field when my secretary hits the button "Create invoice" so that only the records that I want to have an invoice for get a consecutive invoice number.
Thanks a lot!