Ver Mensaje Individual
  #6 (permalink)  
Antiguo 03/07/2003, 08:15
Avatar de u_goldman
u_goldman
Moderador
 
Fecha de Ingreso: enero-2002
Mensajes: 8.031
Antigüedad: 23 años, 3 meses
Puntos: 98
Te falta concatenar bien las variables:

sql="select * from CONSENTIMIENTO where unidad=" & unidad & " and tipo=" & tipo

Es decir, "string" & variable & "string" & variable


http://www.forosdelweb.com/showthrea...hreadid=132948


Salu2,
__________________
"El hombre que ha empezado a vivir seriamente por dentro, empieza a vivir más sencillamente por fuera."
-- Ernest Hemingway