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
