![]() |
Sergey Kornilov admin 6/16/2005 |
Hi, |
G
|
grosskopf author 6/16/2005 |
I changed the SQL field to an identity field, set the seed value to 21857 (since this is the next number in the databse) and the increment to 1. I also removed the field from the add page. |
G
|
grosskopf author 6/16/2005 |
Just to add to me previous response. The problem was that the sql server index was incorrect. I fixed that and now if I do a select on the SQL server I get the next number correctlt but ASP page does not show it at all. |
![]() |
Sergey Kornilov admin 6/16/2005 |
I would recommend to create a brand new project in ASPRunnerPro against this database table to make sure everything works fine. |
G
|
grosskopf author 6/16/2005 |
OK, I did what you suggested. Here's what happened. I added just one of the two tables I am working with for testing. When I did this, it worked great. However, as soon as I add a second table with the manual enter of SQL query. It stops showing not only new records but any records that I enetered with the single table. Here's is the sql query I am using. Can I enter anything here to make it work. The index field is the Serial_Number field. Thanks |
![]() |
Sergey Kornilov admin 6/17/2005 |
Hi, |
K
|
Keith@Caterpillar 6/20/2005 |
I understand using autonumber for MS ACCESS and identity seed for MS SQL. Is there a way to specify the sequence table to use when using ORACLE so you can get a sequence.nextval for assigning the primary key to a new record? |