Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherProgramming Help

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 ASP Free Forums Sponsor:
  #1  
Old March 12th, 2005, 03:00 AM
websolutions websolutions is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 10 websolutions User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 51 m 39 sec
Reputation Power: 0
Recordset Weird Problem

HI Friends,
I am facing a very weird problem. I had worked on a site which was working fine, but due to client's request, i had to reload the data in the db. After data migration, i started facing a strange problem, suddently values for some of the fields were not being displayed in the asp page, i checked up the sql query used, ran the same query in query analyzer and found that the values for the fields that were not appearing on the asp page were there in the db. This really confused me, i tried lots of different things. And finally tried using
Quote:
objRs.Resync method after
objRS.open

Things started to work well now.

Now the question arises why did this happened. Can anyone please explain me a bit. I would really appreciate to hear your views.

Thanking You

Reply With Quote
  #2  
Old March 13th, 2005, 02:18 AM
ProEdge's Avatar
ProEdge ProEdge is offline
Contributing User
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Jan 2004
Location: Somewhere I belong
Posts: 1,557 ProEdge User rank is Sergeant Major (2000 - 5000 Reputation Level)ProEdge User rank is Sergeant Major (2000 - 5000 Reputation Level)ProEdge User rank is Sergeant Major (2000 - 5000 Reputation Level)ProEdge User rank is Sergeant Major (2000 - 5000 Reputation Level)ProEdge User rank is Sergeant Major (2000 - 5000 Reputation Level)ProEdge User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 12 h 34 m 55 sec
Reputation Power: 39
I think since you imported the data again into the database, your Recordset was out of date with the old database so using the Resync method allows you to refresh the data in your Recordset. You probably want to leave this in your code so when you make new database changes, it'll refresh automatically for you.
__________________
Keep it Prodigy, Keep it Real

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherProgramming Help > Recordset Weird Problem


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 6 hosted by Hostway