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 October 6th, 2004, 03:47 PM
Pluto Pluto is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 244 Pluto User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 8 h 25 m 59 sec
Reputation Power: 5
Unhappy Can anyone help?

Hi there,

Please could someone help me out with this problem I am experiencing :

I seem to getting this error when I got to upate data in a database via a form : Type mismatch Cint and it occurs spcecifically on the following piece of code (the line it specifically referrs to is the first line...)

sql10 = "UPDATE Anuncios SET CodPais=" & co & ",CodProvincia=" & pr & ",CodCP=" & fcp & ",Poblacion='" & fpob & _
"',Opcion='" & op & "',Tipo=" & ti & ",Precio='" & fpre & "',Moneda='" & fmon & "',Habitaciones=" & fhab & ",Superficie=" & fsup & _
",Banyos=" & fban & ",Aseos=" & fase & ",Antiguedad=" & fan & ",SuperficieHab='" & fshab & "',Garaje=" & fgar & ",Ascensor=" & fasc & _
",Trastero=" & ftra & ",Calefacción=" & fcal & ",Aire=" & fair & ",Amueblado=" & famu & ",Terraza=" & fter & ", Cocina=" & fcoc & ",Piscina=" & fpis & ",Chimenea=" & fchi & _
",CodIdiomaA='" & fida & "',DescripcionA='" & fdea & "',CodIdiomaB='" & fidb & "',DescripcionB='" & fdeb & "',RutaImagen1='" & fimg1 & _
"',RutaImagen2='" & fimg2 & "',RutaImagen3='" & fimg3 & "' WHERE ID=" & CInt(idanun)


To explain a little this code is on a form page where a client may update the information in a database via this form. If I simply update textboxes radio check boxes, this updates fine. It is when i go to update an uploaded image, which all works fine, I can go to the upload page, and it all uploads fine, and displays in the page fine, it is just when i hit accept to update the information in the database, it then hits the error. Like I say ONLY when an image has been updated.

These are the variables relating to the image location info :
RutaImagen1='" & fimg1 & _ "',RutaImagen2='" & fimg2 & "',RutaImagen3='" & fimg3 &

I would be ever so grateful for ANY help you can offer me on this... its driving me maddd!!

Thanks

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherProgramming Help > Can anyone help?


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 1 hosted by Hostway
Stay green...Green IT