childofthe1980s
3/28/2007 8:24:00 PM
Hello:
I am using the INSERT INTO....VALUES script in order to insert records of
fields into a table, of course.
If one of the fields of data that I want to insert is a number and it is
always going to be 1 greater than the same field in the previous record, what
sort of code do I use? Let me be more clear.
Let's say my script is:
INSERT INTO table (this, that, 24)
VALUES (dog, cat, 'one number greater than 24')
In other words, the last value in VALUES above needs to be some sort of
programming that says "insert in this field one number greater than that of
the previous record".
How do I do that?
Thanks!
childofthe1980s