Ver Mensaje Individual
  #4  
Antiguo 13-03-2005
Avatar de marcoszorrilla
marcoszorrilla marcoszorrilla is offline
Capo
 
Registrado: may 2003
Ubicación: Cantabria - España
Posts: 11.221
Reputación: 10
marcoszorrilla Va por buen camino
Prueba así, lo he probado y funciona:

Código Delphi [-]
 procedure TForm1.Button1Click(Sender: TObject);
 begin
 
 AdoCommand1.CommandText:='Create Table '+(Edit1.Text)+
                           ' (Numemp Integer Primary Key, '+
                           'nombre TEXT(30) Not null, '+
                           'edad INTEGER)';
 AdoCommand1.Execute;
 end;

Un Saludo.
__________________
Guía de Estilo de los Foros
Cita:
- Ça c'est la caisse. Le mouton que tu veux est dedans.
Responder Con Cita