ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 29th, 2000, 08:25 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
adding records

<i><b>Originally posted by : Arno (flash@start4all.com)</b></i><br />Hi,<br />I have a asp vote booth with categories and I want that the visitors are able<br />to add new items in the categories where they can vote on.<br />So I made a html form in the asp result page and that one writes the data<br />into the database, that works well except for the categorieID (the ID for the current categorie)<br />How can I do this? In the asp result page I already closed the current recordset before the html form starts<br />I'm new to this so maybe I'm talking nonsence now :-)<br /><br />Thanks in advance,<br />Arno<br />

Reply With Quote
  #2  
Old March 29th, 2000, 01:13 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : steve</b></i><br />if the catID field is in the same table then you can just use an autonumber or identity column that autoincrements. Then the statement you can capture this variable if you need to write out to the asp page.<br /><br />http://www.aspfree.com/asp/startpage.asp?id=20 has example code how to do this.<br /><br />steve<br /><br /><br />------------<br />Arno at 3/29/2000 5:25:29 AM<br /><br />Hi,<br />I have a asp vote booth with categories and I want that the visitors are able<br />to add new items in the categories where they can vote on.<br />So I made a html form in the asp result page and that one writes the data<br />into the database, that works well except for the categorieID (the ID for the current categorie)<br />How can I do this? In the asp result page I already closed the current recordset before the html form starts<br />I'm new to this so maybe I'm talking nonsence now :-)<br /><br />Thanks in advance,<br />Arno<br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > adding records


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT