SunQuest
           ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

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 Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old July 20th, 2003, 03:29 AM
Kevin Andreshak Kevin Andreshak is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Hawaii
Posts: 14 Kevin Andreshak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 55 m 11 sec
Reputation Power: 0
nt

thx for any help you can give me.

Reply With Quote
  #2  
Old July 20th, 2003, 03:14 PM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
Check and properly handle null values.

Reply With Quote
  #3  
Old July 20th, 2003, 07:18 PM
Kevin Andreshak Kevin Andreshak is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Hawaii
Posts: 14 Kevin Andreshak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 55 m 11 sec
Reputation Power: 0
your right.


Reply With Quote
  #4  
Old July 20th, 2003, 07:40 PM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
Try using the IFNULL(field, value) and see if this alleviates your issue.

Reply With Quote
  #5  
Old July 20th, 2003, 08:37 PM
Kevin Andreshak Kevin Andreshak is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Hawaii
Posts: 14 Kevin Andreshak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 55 m 11 sec
Reputation Power: 0
thx for your time.

Reply With Quote
  #6  
Old July 20th, 2003, 09:25 PM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
Try this:
SELECT IFNULL(ScoresID, 0), IFNULL(EventID,0), IFNULL(TimeStamp, '0000-00-00 00:00:00') and so on.

Reply With Quote
  #7  
Old July 20th, 2003, 11:20 PM
Kevin Andreshak Kevin Andreshak is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Hawaii
Posts: 14 Kevin Andreshak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 55 m 11 sec
Reputation Power: 0
ok I tried this

thx again.

Reply With Quote
  #8  
Old July 20th, 2003, 11:40 PM
Kevin Andreshak Kevin Andreshak is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Hawaii
Posts: 14 Kevin Andreshak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 55 m 11 sec
Reputation Power: 0
update

again thx

Reply With Quote
  #9  
Old July 21st, 2003, 08:29 AM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
If you are using the IFNULL() clause you will need to alias the column or select the items via integer position instead of names.

Reply With Quote
  #10  
Old July 21st, 2003, 02:05 PM
Kevin Andreshak Kevin Andreshak is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Hawaii
Posts: 14 Kevin Andreshak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 55 m 11 sec
Reputation Power: 0
ok i tried some stuff

thanks

Reply With Quote
  #11  
Old July 21st, 2003, 09:52 PM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 31 m 56 sec
Reputation Power: 8
You only want to ifnull values selected from the database not the constant values. Selecting via the integer position refers to selecting the via the position in the select statement.
rs(1)
rs(2)
...

Reply With Quote
  #12  
Old July 22nd, 2003, 05:28 AM
spc197's Avatar
spc197 spc197 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: North East of England
Posts: 23 spc197 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 38 m 28 sec
Reputation Power: 0
Have you tried

rs.Open SQL, Conn, , adOpenDynamic, adLockOptimistic, adCmdTableDirect

?

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > Having problems with Multiple-step OLE DB


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