3 Replies Latest reply on Jul 13, 2011 12:24 PM by maxwyss

    Checking a Data Base for a number and returning it into PDF forum




      I am working on creating a work order forum, each work order has to have specific number attached to it.

      I am looking for something like so: the forum will query a data base or something, find the largest number (being the last work order) create a new work order number (last work order number +1) and return the order number back to the PDF forum and add it to the list in the data base.

      what would be the easiest way to go about doing this, SQL? Or is there another way of going about this? Is Javacript able to do this?


      Thanks in advance!