I have an invoice table with each invoice having a unique id_number
I need to pull the last used id_number, and increment it by one to put in with the new invoices I update the table with (using SQL statement).
This needs to be done inside of my module I wrote. Anyone know what the code for this would look like? or where i could find an example of this?
I need to pull the last used id_number, and increment it by one to put in with the new invoices I update the table with (using SQL statement).
This needs to be done inside of my module I wrote. Anyone know what the code for this would look like? or where i could find an example of this?