Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Migrating From Snitz - LETS WORK THIS OUT
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Migrating From Snitz - LETS WORK THIS OUT

 Post Reply Post Reply Page  <1234 12>
Author
MortiOli View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 May 2002
Location: United Kingdom
Status: Offline
Points: 514
Post Options Post Options   Thanks (0) Thanks(0)   Quote MortiOli Quote  Post ReplyReply Direct Link To This Post Posted: 18 September 2005 at 8:51am
Okie doke.
 
I modified the code to the below;
 
else
           rsIns.AddNew
           rsIns.Fields("Username") = idValue
           rsIns.Fields("Author_email") = idValue 
         rsIns.Fields("Signature") = idValue 
           rsIns.Fields("Password") = idValue
           rsIns.Fields("User_code") = idValue
           rsIns.Fields("Time_offset") = "+"
        rsIns.Fields("Time_offset_hours") = "0"
         rsIns.Fields("Join_Date") = idValue 
         rsIns.Fields("MSN") = idValue 
        rsIns.Fields("ICQ") = idValue 
        rsIns.Fields("AIM") = idValue 
        rsIns.Fields("YAHOO") = idValue 
        rsIns.Fields("Show_Email") = False 
        rsIns.Fields("Real_Name") = idValue 
        rsIns.Fields("Last_visit") = idValue  
        rsIns.Fields("Occupation") = idValue 
        rsIns.Fields("No_of_posts") = idValue
        SQL = "SELECT Group_ID FROM tblGroup WHERE Minimum_posts <= " & rs("M_POSTS") & " ORDER BY Minimum_posts DESC"
        set rsGroup = conn.execute(SQL)
        rsIns.Fields("Group_ID") = rsGroup("Group_ID")
        rsIns.Update      
           SQL = "DELETE * FROM tblAuthor WHERE username = '" & idValue & "'"
           set rsDel = conn.execute(SQL)
           IDValue = IDValue + 1
     End if
 
 
This will mean that it'll update each field with the idValue, like it was doing for the username etc - except time_offset and time_offset_hours, which have been set to update with '+' and '0', and show_email which has been set to 'false'.
 
However, when I run it, I get the following error;
 

ADODB.Recordset error '800a0bcd'

Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.

/wwf/forum/admin/database/convert.asp, line 92

 

Line 92 has been highlighted red in the code above.  Is there something I'm doing wrong?  I realise that in that part it's matching the post count to the relevant ranking group in tblGroup.
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 18 September 2005 at 8:57am
it means no record was returned, from the group table.

if the member was deleted wouldn't their post count = 0

?

as M_Posts would not exist,


Back to Top
Duby View Drop Down
Groupie
Groupie
Avatar

Joined: 23 August 2005
Location: Croatia
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote Duby Quote  Post ReplyReply Direct Link To This Post Posted: 22 September 2005 at 8:14am
Hi, I would like also to convert Snitz to WWW...
Thank you for trying Clap!
I will help a little (I am new to all this so) but I ll try to learn fast.Cry
 
Have you tried to write something in those empty (deleted users) fields in Access, manually,? Only to see if it works?
 
Or, can we change all the empty fields with query in Access to some value (for example if the value is empty then value = 3,14), then run a script and after that we should delete all the values in WWW database that we have manually entered in SF databese empty records (delete all the 3,14 values)?
 
Sorry if it is a stupid idea, but...
Back to Top
Duby View Drop Down
Groupie
Groupie
Avatar

Joined: 23 August 2005
Location: Croatia
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote Duby Quote  Post ReplyReply Direct Link To This Post Posted: 22 September 2005 at 9:25am
Originally posted by MortiOli MortiOli wrote:

Now doing all the above should work for those who have never deleted a member, but don't take my word for it.
 
Does it work for those who have never deleted a member? Or you still donŽt know?
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 22 September 2005 at 11:23am
i have worked on this with MortiOli

and we have managed to get a script that will do so.

we also have added the feature where all existing passwords will work..

i have left it with MortiOli, he has a fully working version
Back to Top
Duby View Drop Down
Groupie
Groupie
Avatar

Joined: 23 August 2005
Location: Croatia
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote Duby Quote  Post ReplyReply Direct Link To This Post Posted: 23 September 2005 at 4:06am
Originally posted by dj air dj air wrote:

i have worked on this with MortiOli

and we have managed to get a script that will do so.

we also have added the feature where all existing passwords will work..

i have left it with MortiOli, he has a fully working version
 
You did??? Oh...ClapClapClapClap
 
I would realy like to see how did you do that!

Thank you very much!Clap
Back to Top
Duby View Drop Down
Groupie
Groupie
Avatar

Joined: 23 August 2005
Location: Croatia
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote Duby Quote  Post ReplyReply Direct Link To This Post Posted: 23 September 2005 at 1:41pm
I have sent MartiOli PM, but nothing from him...So, IŽll have to do it...Confused
Back to Top
Duby View Drop Down
Groupie
Groupie
Avatar

Joined: 23 August 2005
Location: Croatia
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote Duby Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2005 at 2:05pm
OK, no replay, no help from experts... So, I am searching for someone who wants to help me with this script...?
 
Somehow it looks like all the persons that have managed to migrate from snitz to wwf disappeared. Is this a story for X-files? Smile
Duby
Back to Top
 Post Reply Post Reply Page  <1234 12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.