Hello all,
reading a database table with the SQL executeTable command and then accessing each single cell with
myVar=Table1.Cell(Table1.ColName(k),0)
I get the "Specified cast is not valid" error message if the cell contains a "null" value deriving from an empty field in the database.
How to avoid this message? Only providing a default value to the field? or is there any other solution?
Many thanks
Mimmo
reading a database table with the SQL executeTable command and then accessing each single cell with
myVar=Table1.Cell(Table1.ColName(k),0)
I get the "Specified cast is not valid" error message if the cell contains a "null" value deriving from an empty field in the database.
How to avoid this message? Only providing a default value to the field? or is there any other solution?
Many thanks
Mimmo