Tema: DBListBox
Ver Mensaje Individual
  #3  
Antiguo 13-03-2007
JXJ JXJ is offline
Miembro
 
Registrado: abr 2005
Posts: 2.475
Reputación: 24
JXJ Va por buen camino
aqui hay una respuesta

http://www.bsdg.org/SWAG/DELPHI/0123.PAS.html

Código:
procedure TForm1.FormCreate(Sender: TObject);
begin
  with table2 do begin
    open;
    while not EOF do
    begin
      DBlistbox1.items.add(FieldByName('name').AsString); 
      next;
    end;
  end;
end;

Última edición por JXJ fecha: 13-03-2007 a las 08:08:03.
Responder Con Cita