Error while fetching null value
-
Hello All, I am using VC++/Com application and working with database. I am using '_RecordsetPtr' to fetch database tables. Here 'RsITEM' Macro to get particular column data. Everything works fine unless you encounter with NULL value. If values comes to be NULL, it just throw exception, and application crashes. Not allowing null values in database is not solution in my case. Any help in this regard is highly appreciated. Happy Programming.
-
Hello All, I am using VC++/Com application and working with database. I am using '_RecordsetPtr' to fetch database tables. Here 'RsITEM' Macro to get particular column data. Everything works fine unless you encounter with NULL value. If values comes to be NULL, it just throw exception, and application crashes. Not allowing null values in database is not solution in my case. Any help in this regard is highly appreciated. Happy Programming.