Complete rookie...
My book assumes that I have Designer 6i and tells me to do something in the gui that will auto sequence those numbers.
Excitingly enough, the code provided with the book is all in a .dmp file which I can't read with Designer 6i.
I also have to automatically do 'created by' and 'updated by' columns, but I have some trigger code for that from another book.
I would imagine that I could trigger this by calling the MAX of the column in the table I am about to change and adding 1. As long as the trigger doesn't directly change the table, only changing the :new row values I don't run into a 'mutating' table problem, right?
Of course, I only barely know what the code for that solution would look like.
Thanks for your time,
Kevin
My book assumes that I have Designer 6i and tells me to do something in the gui that will auto sequence those numbers.
Excitingly enough, the code provided with the book is all in a .dmp file which I can't read with Designer 6i.
I also have to automatically do 'created by' and 'updated by' columns, but I have some trigger code for that from another book.
I would imagine that I could trigger this by calling the MAX of the column in the table I am about to change and adding 1. As long as the trigger doesn't directly change the table, only changing the :new row values I don't run into a 'mutating' table problem, right?
Of course, I only barely know what the code for that solution would look like.
Thanks for your time,
Kevin