Ver Mensaje Individual
  #14  
Antiguo 23-11-2009
Avatar de rgstuamigo
rgstuamigo rgstuamigo is offline
Miembro
 
Registrado: jul 2008
Ubicación: Santa Cruz de la Sierra-Bolivia
Posts: 1.646
Reputación: 19
rgstuamigo Va por buen camino
Arrow

Cita:
Empezado por jaimeh Ver Mensaje
amigo rgstuamigo

Se que los dataset no son las tablas. Pero como hay sentancias Fields.add y
fieldefs.add pensaba si se podía conseguir algo. De hecho con fielddefs.add
y createtable se puede crear una tabla sin utilizar el sql aunque el componente lo utilice internamente.

saludos
Sacado de la ayuda de Delphi 7 >
Cita:
Inserts a new field to the end of the Fields array.

Delphi syntax:

procedure Add(Field: TField);

C++ syntax:

void __fastcall Add(TField* Field);

Description

Applications do not normally call the Add method directly. When field objects are created, Add is called automatically by the dataset.
Por otra parte seria interesante que pusieras el codigo de como has logrado crear tablas usando fielddefs.add,talves es algo nuevo para mi.
Saludos...
__________________
"Pedid, y se os dará; buscad, y hallaréis; llamad, y se os abrirá." Mt.7:7
Responder Con Cita