Esta bien esta select?
Tengo metido en una caja de texto.loadfocus=data2.RecordSource = "Select Nombre, Dirección, Ti_Día into txtnombre.text, txtdireccion.text, txttidi.text from cliente c, facturas f where c.Código=txtcodigo.text and c.Código=f.Código_Cliente"
En principio debes de poner unas cuantas comillas para los cuadro de texto:
texto.loadfocus=data2.RecordSource = "Select Nombre, Dirección, Ti_Día into" & txtnombre.text & "," & txtdireccion.text & "," & txttidi.text & " from cliente c, facturas f where c.Código=" & txtcodigo.text & "and c.Código=f.Código_Cliente"
así en principio tiene que estar bien prueba a ver si te funciona
Saludos
texto.loadfocus=data2.RecordSource = "Select Nombre, Dirección, Ti_Día into" & txtnombre.text & "," & txtdireccion.text & "," & txttidi.text & " from cliente c, facturas f where c.Código=" & txtcodigo.text & "and c.Código=f.Código_Cliente"
así en principio tiene que estar bien prueba a ver si te funciona
Saludos
