Ver Mensaje Individual
  #1  
Antiguo 05-06-2012
Avatar de Jere_84
Jere_84 Jere_84 is offline
Miembro
NULL
 
Registrado: sep 2011
Ubicación: Córdoba, Argentina
Posts: 214
Reputación: 0
Jere_84 cantidad desconocida en este momento
Exclamation Convertir OleVariant a TField

Hola, quiero convertir una parámetro tipo OleVariant a uno tipo TFields, estuve mirando la ayuda que trae el Delphi 2010 y no encontré nada interesante, por ahi alguno de ustedes probo algo.

Código Delphi [-]
Procedure Nombre(ownerdata: OleVariant);
var
  vCampo: TField;
begin
  if ownerdata is TField then
    vCampo := ownerdata;
end;

Saludos!
Responder Con Cita