Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/04/2002, 20:50
kraneo
 
Fecha de Ingreso: enero-2002
Mensajes: 50
Antigüedad: 23 años, 3 meses
Puntos: 0
Re: Ven error en este script?

Pues yo aunke no soi ningun experto diria ke es porke te faltan las comillas simples
ej..
el original
gsSQL = ""
gsSQL = gsSQL & "SELECT * FROM Auctions WHERE CategoryID = " & SQLVal(iCatID) & " "
el modificado
gsSQL = ""
gsSQL = gsSQL & "SELECT * FROM Auctions WHERE CategoryID = '" & SQLVal(iCatID) & " '"

Simplemente ponle las comillas simples al lao de cada valor
:)