Hi Folks
have got the following line as part of a quick and dirty program to try and clean up a Db table from an old mainframe app. -
if not(form1.ADOTable1.FieldValues['Field3'].IsNull) then..
Unfortunately, whenever it actually comes across a null field it throws up a "variant conversion error".
Anyone point me in the right direction on how to pick up null fields in Db tables (so they can be skipped)?
I suppose I could trap this specific error and try and get round it that way but seems a bit inelegant...
Regards
have got the following line as part of a quick and dirty program to try and clean up a Db table from an old mainframe app. -
if not(form1.ADOTable1.FieldValues['Field3'].IsNull) then..
Unfortunately, whenever it actually comes across a null field it throws up a "variant conversion error".
Anyone point me in the right direction on how to pick up null fields in Db tables (so they can be skipped)?
I suppose I could trap this specific error and try and get round it that way but seems a bit inelegant...
Regards