|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
adding data to database
<i><b>Originally posted by : Liwayway A. Talavera (liwayway_talavera@hotmail.com)</b></i><br /><br />Is it possible to add data to the database wherein the textbox for primary key is empty.
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : Dave (dloh@uk2.net)</b></i><br /><br />Yes, if your primary key is an autonumber field, then you can do without the input textbox - the database will make the entry automatically.<br /><br />------------<br />Liwayway A. Talavera at 9/7/2000 10:35:27 PM<br /><br /><br />Is it possible to add data to the database wherein the textbox for primary key is empty.
|
|
#3
|
|||
|
|||
|
<i><b>Originally posted by : Filip (filip.wilsens@pandora.be)</b></i><br /><br />And how do you set an autonumbered field? I haven't found a datatype "autonumbered" or something like that! Do you have to create this entry manually (like ID or so)?<br />This in both versions of SQL (6.5 and 7)<br /><br />------------<br />Dave at 9/12/2000 7:21:59 AM<br /><br /><br />Yes, if your primary key is an autonumber field, then you can do without the input textbox - the database will make the entry automatically.<br /><br />------------<br />Liwayway A. Talavera at 9/7/2000 10:35:27 PM<br /><br /><br />Is it possible to add data to the database wherein the textbox for primary key is empty.
|
|
#4
|
|||
|
|||
|
<i><b>Originally posted by : Filip (Filip.wilsens@pandora.be)</b></i><br />And how do you set an autonumbered field? I haven't found a datatype "autonumbered" or something like that! Do you have to create this entry manually (like ID or so)? Likely you 're talking about an Access-Database! I need this in both versions of SQL (6.5 and 7)<br /><br />------------<br />Dave at 9/12/2000 7:21:59 AM<br /><br /><br />Yes, if your primary key is an autonumber field, then you can do without the input textbox - the database will make the entry automatically.<br /><br />------------<br />Liwayway A. Talavera at 9/7/2000 10:35:27 PM<br /><br /><br />Is it possible to add data to the database wherein the textbox for primary key is empty.
|
![]() |
| Viewing: ASP Free Forums > Database > SQL Development > adding data to database |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|