msd 5 Posted November 29, 2023 Hello, FirebirdSQL has a replacement in Delphi for the null value, and it is called NaN (non-numeric value). I can't prevent this situation, ID DB, so I need to check if my variable (Real type) and my DataSet field (TFloat type) are numeric or not (nil, null, nan, etc.). Thanks in advance... Share this post Link to post
PeterBelow 238 Posted November 29, 2023 14 minutes ago, msd said: Hello, FirebirdSQL has a replacement in Delphi for the null value, and it is called NaN (non-numeric value). I can't prevent this situation, ID DB, so I need to check if my variable (Real type) and my DataSet field (TFloat type) are numeric or not (nil, null, nan, etc.). Thanks in advance... TField.IsNull is the way to check if a database field is NULL. Do not rely on this conditions beeing mapped to a specific value. 1 Share this post Link to post