If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > ASP application - MySQL update problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-29-03, 12:31
mx241 mx241 is offline
Registered User
 
Join Date: Oct 2003
Location: Rochester, NY
Posts: 2
Question ASP application - MySQL update problem

Hello,
I would like to use an asp application in MySQL that was origionally set up for access db. Connection is fine and pages work good with data already entered but i does not add data through the forms... i do not get any errors. i'm not very farmiliar with MySQL. do i need to add something to the db to get this to work? any help would be great...

UserUpdate()

Function UserUpdate()
On Error Resume Next

Set rsUser = Server.CreateObject("ADODB.Recordset")
rsUser.open "users", conn, 3, 3
rsUser.AddNew
rsUser("username") = username
rsUser("password") = password
rsUser("firstname") = firstname
rsUser("surname") = surname
rsUser("email") = email
rsUser("dob") = dob
rsUser("starsign") = starsign
rsUser("sex") = sex
rsUser("icon") = icon
rsUser("sendemail") = sendemail
rsUser.Update
Reply With Quote
  #2 (permalink)  
Old 10-30-03, 10:20
genmud genmud is offline
Registered User
 
Join Date: Oct 2003
Posts: 2
Why dont you just import it into MSSQL... It would be much easier... and it would be faster, because ASP plays well w/ MSSQL

But yea.. That is what you should do if you can.
Reply With Quote
  #3 (permalink)  
Old 10-30-03, 11:01
mx241 mx241 is offline
Registered User
 
Join Date: Oct 2003
Location: Rochester, NY
Posts: 2
ahh i scrapped that idea... the application is great but just too many issues with .asp and MySQL for me.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On