Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Bases de datos > Firebird e Interbase
Registrarse FAQ Miembros Calendario Guía de estilo Buscar Temas de Hoy Marcar Foros Como Leídos

 
 
Herramientas Buscar en Tema Desplegado
  #2  
Antiguo 03-08-2005
Avatar de Rufus
Rufus Rufus is offline
Miembro
 
Registrado: may 2004
Ubicación: Canarias
Posts: 193
Poder: 23
Rufus Va por buen camino
En la ayuda de FIBPlus dice:
Cita:
You can use dataset methods to generate all or selected SQL statements.
The dataset must be open before calling these methods. The GenerateSQLs procedure
generates and fills all SQL properties — InsertSQL,UpdateSQL, DeleteSQL, and
RefreshSQL. Before you should provide the SelectSQL property. You also
should set the UpdateTableName or the KeyFields sub-property of the
AutoUpdateOptions property.
Entonces, siguiendo esto tu codgo quedaría así:
Código SQL [-]
DataSet1.SelectSQL.Clear;
DataSet1.SelectSQL.Add('SELECT * FROM COUNTRY');
DataSet1.AutoUpdateOptions.UpdateTableName := 'COUNTRY';
DataSet1.Open;
DataSet1.GenerateSQLs;
Pruebalo. Funciona.
__________________
Milo
Responder Con Cita
 


Herramientas Buscar en Tema
Buscar en Tema:

Búsqueda Avanzada
Desplegado

Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro


La franja horaria es GMT +2. Ahora son las 02:53:03.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi