Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Ezilon Directory   Perfect Money   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 02-14-2006, 06:04 PM   #1 (permalink)
Inactive
 
wulf2001's Avatar
 
Join Date: 08-01-05
Posts: 199
iTrader: 0 / 0%
Latest Blog:
None

wulf2001 is liked by somebodywulf2001 is liked by somebodywulf2001 is liked by somebodywulf2001 is liked by somebodywulf2001 is liked by somebody
URGENT HELP!!! simple problem but I cant fix it...

I'm having some serious problems... well not serious its probably pretty basic, just like the problems I have in class... funny when u ask for help and the professor points out a spelling error DOH!! anyways heres my little problem...

I keep getting this error on my asp page...

Error Type:
Provider (0x80004005)
Unspecified error
/indifini/connection.inc, line 4

I also get the error below sometimes right after I make a change save and then refresh the page... but it goes away if I refresh the error page and up comes the one above...

Error Type:
Microsoft VBScript runtime (0x800A01A
Object required: 'recset'
/indifini/test.asp, line 8


LINE 4 is the dim line and con is the variable for the connection to my database. PLEASE HEELLLLLPPP!!!! HEELLLPPP A POOR POOR NOOBIE!!!

now here is my code

<!--#include file = "connection.inc" -->
<!--#include file="adovbs.inc"-->
<%
dim pagex, recsetx, beginx
pagex = Request("page")
set recsetx = Server.CreateObject("ADODB.Recordset")
beginx = "SELECT * FROM Table1 WHERE number = " & pagex & ""
recset.open beginx , con

%>
<html>
<body>
<%
do until recset("number") = page + 9 or recset.EOF
response.write recset("conx")
response.write "<br>"
recset.movenext
loop

%>


<a href="test.asp?page=<% = pagex + 9 %>">NEXT</a>
<% = pagex %>
<br><br>

</body>

</html>

P.S - for those of you wondering WTF is that... I'm trying to make my own little paging script... just a young web mage trying to fill up his spell book. Its obviously going to be more complex than this but I gotta start somewhere.
wulf2001 is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 02-14-2006, 11:13 PM   #2 (permalink)
aka Colleen
 
Join Date: 03-25-04
Location: Canada
Posts: 5,925
iTrader: 0 / 0%
Latest Blog:
None

Kalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest order
I think it's from some open <td>'s.
__________________
Ruby Jewelry Sales
Kalina is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-15-2006, 03:47 PM   #3 (permalink)
Inactive
 
wulf2001's Avatar
 
Join Date: 08-01-05
Posts: 199
iTrader: 0 / 0%
Latest Blog:
None

wulf2001 is liked by somebodywulf2001 is liked by somebodywulf2001 is liked by somebodywulf2001 is liked by somebodywulf2001 is liked by somebody
haha very funny colleen but I am seriously stumped here...
wulf2001 is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-15-2006, 03:54 PM   #4 (permalink)
aka Colleen
 
Join Date: 03-25-04
Location: Canada
Posts: 5,925
iTrader: 0 / 0%
Latest Blog:
None

Kalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest order
Is that visual basic? I don't know anything about it.
__________________
Ruby Jewelry Sales
Kalina is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-15-2006, 08:26 PM   #5 (permalink)
Inactive
 
wulf2001's Avatar
 
Join Date: 08-01-05
Posts: 199
iTrader: 0 / 0%
Latest Blog:
None

wulf2001 is liked by somebodywulf2001 is liked by somebodywulf2001 is liked by somebodywulf2001 is liked by somebodywulf2001 is liked by somebody


well I've kinda fixed the problem... I keep getting an error when I use the pagex variable to select from... For some reason even though the value of pagex is the equivilant of a number I seem to still have to type that number in myself... So instead of going

Select from table1 where number = pagex
i have to type
select from table1 where number = 5

or something like that...
Its pissing the **** *** * *** * *** * *** *** out of my **** * **** ** mind and I cant **** *** handle it.
wulf2001 is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-16-2006, 01:21 PM   #6 (permalink)
aka Colleen
 
Join Date: 03-25-04
Location: Canada
Posts: 5,925
iTrader: 0 / 0%
Latest Blog:
None

Kalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest order
Wow, I'm lost. What's pagex?

Yep, I know the feeling. I will try to figure something out for hours or it needles my brain...
__________________
Ruby Jewelry Sales
Kalina is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent! Please help me with wp-cron.php problem in my blog kapuk Blogging Forum 0 10-19-2007 07:58 AM
URGENT PROBLEM kwvarga Coding Forum 4 03-22-2006 02:47 PM
Simple HTML Problem Pretend Coding Forum 4 02-23-2006 02:52 PM
Simple problem im having (frontpage) fosho flash Web Design Lobby 4 02-15-2006 08:28 PM
HTML Mod PHPBB Urgent Problem edbarton Coding Forum 3 02-10-2004 10:05 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 01:14 AM.
© Copyright 2008 V7 Inc