SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseSQL Development

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 May 29th, 2000, 04:34 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Duplication & insert that data to database

<i><b>Originally posted by : Azlin (azlin@inovasi.po.my)</b></i><br />hello there..<br />Anyone can help me reg. duplication data...<br />I want to insert a new data and detect if one of the field has a duplication data.<br />The problem is that the process can detect if has a dupplication data but if not, it give a error when inserting process.<br /><br />Error Message:<br />Either BOF or EOF is True, or the current record has been deleted; the operation requested by the application requires a current record.<br /><br />Anyone can help me for writing the coding.<br /><br />Thanks

Reply With Quote
  #2  
Old May 30th, 2000, 10:23 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : jeff (jeff.dillon@medcath.com)</b></i><br />I haven't seen your code so I am just guessing here...<br /><br />The error message denotes an empty record set.<br /> <br />If I understand correctly, the script fails only if you don't find duplicate data. If you are querying the database to find the duplicate data before inserting that data into the database, then check the record set against BOF and EOF before trying to evaluate any data that might be in it.<br /><br />' RS is the recordset<br /><br /><br />If not RS.BOF and not RS.EOF Then<br /><br />' the result set is not empty<br />' there is duplicate data<br />' do something here<br /> <br />Else<br /><br />' the result set is empty<br />' there is no duplicate data<br />' insert new record here<br /><br />End If<br /><br /><br />------------<br />Azlin at 5/29/2000 2:34:43 AM<br /><br />hello there..<br />Anyone can help me reg. duplication data...<br />I want to insert a new data and detect if one of the field has a duplication data.<br />The problem is that the process can detect if has a dupplication data but if not, it give a error when inserting process.<br /><br />Error Message:<br />Either BOF or EOF is True, or the current record has been deleted; the operation requested by the application requires a current record.<br /><br />Anyone can help me for writing the coding.<br /><br />Thanks

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > Duplication & insert that data to database


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