Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Old 12-13-2004, 11:34 AM How can I do this?
netcrawler's Avatar
Average Talker

Posts: 27
Location: QC, Canada
Trades: 0
I'm trying to see all employments in archives that the end date is smaller that todays date this is part of the code

<% if RsEmployment("dateoff") < Now() then %>


but its not working i have this error:

error '80020009'
Exception occurred.

/incl/employment_all.asp, line 553


I dont understand could someone tell me what i am doing wrong.

Thanks.
netcrawler is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-13-2004, 12:02 PM
Anacrusis's Avatar
Defies a Status

Posts: 2,099
Name: Adam
Location: Colchester CT
Trades: 0
is the dateoff column defined as a date datatype in the database?
Anacrusis is offline
Reply With Quote
View Public Profile
 
Old 12-13-2004, 12:11 PM
netcrawler's Avatar
Average Talker

Posts: 27
Location: QC, Canada
Trades: 0
yes it is
netcrawler is offline
Reply With Quote
View Public Profile
 
Old 12-13-2004, 12:17 PM
Anacrusis's Avatar
Defies a Status

Posts: 2,099
Name: Adam
Location: Colchester CT
Trades: 0
Can you post a link to a text version of your code so we may have a look? That's kind of a generic error there and it would help if I could see the full source.
Anacrusis is offline
Reply With Quote
View Public Profile
 
Old 12-13-2004, 12:32 PM
netcrawler's Avatar
Average Talker

Posts: 27
Location: QC, Canada
Trades: 0
<%
if rsemployment("dateoff") > now() then
if strLang="e" then
response.write"<h3>Archives</h3>"
response.write "<p><a href=""/support/empl/employment_archives_e.asp"">Click here to see the archives</a></p>"

else

response.write"<h3>Archives</h3>"
response.write"<p><a href=""/support/empl/employment_archives_f.asp"">Cliquer ici pour voir les archives</a></p>"
end if
else
if strLang="e" then
response.write"<h3>Archives</h3>"
response.write"<p>There is no archives at the moment</p>"
else
response.write"<h3>Archives</h3>"
response.write"<p>Il n'a aucune archives pour le moment</p>"
end if
end if
%>
netcrawler is offline
Reply With Quote
View Public Profile
 
Old 12-13-2004, 01:16 PM
ACJavascript's Avatar
Humble Mod

Posts: 548
Location: CT, USA
Trades: 0
Which line is 553?
__________________

Please login or register to view this content. Registration is FREE
- 100 Satisfied Customers - Custom Programming and Web Development
ACJavascript is offline
Reply With Quote
View Public Profile Visit ACJavascript's homepage!
 
Old 12-13-2004, 01:23 PM
netcrawler's Avatar
Average Talker

Posts: 27
Location: QC, Canada
Trades: 0
if rsemployment("dateoff") > now() then
netcrawler is offline
Reply With Quote
View Public Profile
 
Old 12-13-2004, 03:44 PM
funkdaddu's Avatar
Web Design Snob

Posts: 635
Trades: 0
-deleted-

Last edited by funkdaddu; 12-13-2004 at 03:49 PM..
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Reply     « Reply to How can I do this?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.72596 seconds with 12 queries