RAN
Posts: 28
|
Posted: 05/19/2005, 5:12 PM |
|
Hi,
I have a table (Products) with a primary key (Products_ID) and
another key (Model_ID).
When i insert this keys the (product_ID) automatically put a number in DB but not hiden (Model_ID)
Its possible with hiden (Model_ID) insert automatically a number in the table (Products)?
Thank you in advance
|
|
|
Nicole
Posts: 586
|
Posted: 05/20/2005, 5:46 AM |
|
Ran,
You can assign default value in Before Insert event, e.g. for ASP
fldfield_name =58
_________________
Regards,
Nicole |
|
|
RAN
Posts: 28
|
Posted: 05/21/2005, 1:22 AM |
|
Thank you Nicole for your help.
When I use fldfield_name =58 give me always the same value.
Its possible with another script give me a value 1...2...3...4... and so on?
Thank you
|
|
|
|