Generating Invoice Numbers

Results 1 to 2 of 2

Thread: Generating Invoice Numbers

  1. #1
    Join Date
    Dec 1969

    Default Generating Invoice Numbers

    HI,<BR>I need to generate invoice numbers for a project I&#039;m working on. I was thinking about storing a single number on the server and just adding 1 to the number every time I assign it to an order. If I were to do this, should I store that number in its own database table or should I just have a text field? Or is there a better method to generating invoice numbers? Thanks - Trevor Hartman

  2. #2
    Join Date
    Dec 1969

    Default ASPFAQs, category Databases, General

    Look for the one about getting the id of a just-added record.<BR><BR>Use an autonumber or identity field, as appropriate.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts