Ver Mensaje Individual
  #2  
Antiguo 14-09-2006
Avatar de lbidi
lbidi lbidi is offline
Miembro
 
Registrado: oct 2003
Ubicación: Montevideo- URUGUAY
Posts: 417
Reputación: 21
lbidi Va por buen camino
Amigos, a ver si me pueden sacar de este problema.
Estoy creando los QrDBTEXT, por codigo segun lo siguiente.

Código Delphi [-]
  for i := 1 to 5 do begin
    if aListas[i] > 0 then begin
      With TQRDBText.Create( Self ) do
      begin
                        DataSet     := f_Parametros.QryDatos;
                        Name         := lbPrecio' + IntToStr(aListas[i]);
                        DataField    := 'Precio ' + IntToStr(aListas[i]);
                        Font.Height := 13;
                        Parent        := Banda_Detalle;
                        Top            := 1;
                        Left            := nCol;
                        AutoSize      := True;
                        Visible         := True;
    end;
    end;
  end;

me esta dando error en la linea cuando asigno el dataset.
el QryDatos esta en el form "parametros" el cual tengo en el use del
form de QR.
Me da un error de "violacion de acceso en la direccion....".
Alguna idea??
Gracias

Leonardo
Responder Con Cita