Ver Mensaje Individual
  #1  
Antiguo 30-11-2010
Alejo15x Alejo15x is offline
Miembro
 
Registrado: ene 2010
Posts: 55
Reputación: 15
Alejo15x Va por buen camino
Could not convert variant of type (Null) into type (Integer)

Hola!

Tengo un problemita con el cual nunca eh lidiado.
Es en sistemas XML, en el cual estoy usando un entero, pero aveces cierta función no existe osea NULA, de modo que no encuentra el entero y me tira error.

Código:
Could not convert variant of type (Null) into type (Integer)
Código Delphi [-]
    case OutfitsList.Outfit[tempOutfitId].Premium of
      0 :
        boolPremiumOutfit.Checked := false;
      1 :
        boolPremiumOutfit.Checked := true;
    end;
Responder Con Cita