How do find out if a field is null with OracleDataset

georgh

Member²
Hi I am using OracleDataset and I need to find out if a field has null value. There is a IsNull function in OracleQuery, but how to do it in OracleDataset?

thanks
georgh
 
You can use TOracleDataSet.FieldByName('field').IsNull. (See TField topic in Borland's Help files).

------------------
Marco Kalter
Allround Automations
 
Thanks, I forgot that DOA classes are also TDataset descendants, (are they not?).

georgh, such a newbie ;-)
 
Back
Top