Ver Mensaje Individual
  #8  
Antiguo 19-01-2015
Avatar de Casimiro Notevi
Casimiro Notevi Casimiro Notevi is offline
Moderador
 
Registrado: sep 2004
Ubicación: En algún lugar.
Posts: 32.043
Reputación: 10
Casimiro Notevi Tiene un aura espectacularCasimiro Notevi Tiene un aura espectacular
A ver, no entiendo el problema, tendrás que ser más específico.
Si tienes dos dataset (ibquery), debes recorrerlos e ir insertando los datos en otro query/dateset/clientdatset (lo que prefieras) y olvídate de dbgrid, ahí no tienes que hacer nada.
Algo similar a:
Código Delphi [-]
while not ibquery1.eof do
  ibqueryconjunto.append( ibquery1.xxxxx)
  ibqueryconjunto.post;
  ibquery1.next
end
while not ibquery2.eof do
  ibqueryconjunto.append( ibquery2.xxxxx)
  ibqueryconjunto.post;
  ibquery1.next
end
Ya están los registros en ibqueryconjunto, añades un datasource que apunte al mismo y al dbgrid también.

Y recuerda poner los tags al código fuente, ejemplo:



Gracias
Responder Con Cita