Ver Mensaje Individual
  #1  
Antiguo 23-02-2007
Avatar de gluglu
[gluglu] gluglu is offline
Miembro Premium
 
Registrado: sep 2004
Ubicación: Málaga - España
Posts: 1.455
Reputación: 21
gluglu Va por buen camino
Excluir algo dentro de un bucle with do ...

Hola amigos !

Hay manera de 'excluir' algo de ser considerado dentro de un bucle With ... do ... ?

Código Delphi [-]
with IBDataSet1 do begin
  SelectSQL.Clear;
  SelectSQL.Add(' ..... ')
  ...
  ParamByName('Val1').Value := TForm1(Owner).IBDataSet2CAMPO.Value;
  ...
end;

Resulta que no me lo hace bien porque al parecer aplica IBDataSet1 del bucle también a TForm1(Owner).IBDataSet2CAMPO.Value

Por eso pregunto si ese bloque en concreto lo puedo 'excluir' de ser considerado como parte a componer junto con IBDataSet1. O lo que tengo que hacer es prescindir de usar with .. do begin ... end
__________________
Piensa siempre en positivo !
Responder Con Cita