From what im reading variant types are inefficient and should be avoided so I’m wondering if its possible to avoid them when handling database record values. I have custom objects that have populated properties from a database and am using variant type for all of them so that I can determine if the field is null (e.g. I have fields where the value could be 0 or a negative number so using 0 or negative numbers to indicate they are empty this does not work). Is there a way to do this so I’m using the data type (e.g. long) rather than variant or is variant the best way to do this?
thanks