navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

please help: how to display a record's id

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> please help: how to display a record's id
Page: [1]
 
Guest


 
please help: how to display a record's id - 3/23/2001 20:48:00   
i know Vince helped me before, but his code didn't work, so please help me again. i want to display a just-added-record's id after its submission but can't get it to work.

this is what i did:
rs.addnew
...
rs.update
myid=rs("ID")
response.write myid

nothing shows up for myid

Spooky

 

Posts: 26606
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: please help: how to display a record's id - 3/23/2001 15:05:00   
What does the full script look like?

(in reply to Guest)
Guest


 
RE: please help: how to display a record's id - 3/26/2001 20:41:00   
Spooky,
it looks like this:
<%
name=request.querystring("name")
email=request.querystring("email")
....

'OBDC connection goes here


rs.addnew
rs("name") = name
rs("email") = email
...
rs.update
myid=rs("ID")
response.write myid


(in reply to Guest)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> please help: how to display a record's id
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts