Ver Mensaje Individual
  #15 (permalink)  
Antiguo 19/01/2006, 13:42
Avatar de vbx3m
vbx3m
 
Fecha de Ingreso: febrero-2005
Ubicación: Venezuela
Mensajes: 524
Antigüedad: 20 años, 3 meses
Puntos: 1
Cita:
Iniciado por soriketes
donde en el textbox o el data?
Si quieres lo puedes poner asi:
Código:
Dim conn As ADODB.Connection

Private sub Text1_click ()
Dim rs As ADODB.Recordset
Set rs = New ADODB.Recordset 

rs.CursorLocation = adUseClient
rs.CursorType = adOpenStatic
rs.LockType = adLockReadOnly
rs.Open "SELECT * FROM Tabla", conn

Text1.Text = rs!Campo1
Text2.Text=  rs!Campo2
__________________
ホルヘ・ラファエル・マルティネス・レオン