ASP Code to display last row in DB

P

Paola

I'm a new to asp and I'm trying to display the entired last row on the DB. I
try the objRecordset.MoveLast but I get the erros saying "Rowset does not
support fetching backward." How I can do that? Thanks in advance for any help
 
A

Aaron Bertrand [SQL Server MVP]

What does "last" mean? Why don't you return a resultset that only has one
row, instead of getting the entire table, if you only care about the "last"
row?
 
P

Paola

that's what i try to do and I do not know how. I have made this table where a
customer add a record, and I want to show the record he/she enters.. but it
always show the first record of the table, not the last. I try getrows and
movelast and I get similar erros.
 
P

Paola

Unfortunately no. I'm learning as, sql, access, ado, VBScript to try to get
paid for that and I whised to have a client to make somthing like that
because I know I will get well paid.. sorry to dissapionted you
 
R

Roland Hall

in message
: Unfortunately no. I'm learning as, sql, access, ado, VBScript to try to
get
: paid for that and I whised to have a client to make somthing like that
: because I know I will get well paid.. sorry to dissapionted you

A: Because it messes up the order in which people normally
read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

What database are you using?

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
 
A

Aaron Bertrand [SQL Server MVP]

Oh, FFS, I am unsubscribing from this group. The most annoying thing on
usenet and in e-mail, indeed.
 
R

Roland Hall

: Oh, FFS, I am unsubscribing from this group. The most annoying thing on
: usenet and in e-mail, indeed.
:
:
:
: > A: Because it messes up the order in which people normally
: > read text.
: > Q: Why is top-posting such a bad thing?
: > A: Top-posting.
: > Q: What is the most annoying thing on usenet and in e-mail?
:
:

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp


?
y
a
s

u
o
y

d
i
d

t
a
h
W
 
R

Roland Hall

: Dude, how old are you? 7?

Big enough to push you down and take your lunch money.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,787
Messages
2,569,629
Members
45,330
Latest member
AlvaStingl

Latest Threads

Top