المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Error while fetching null value



C++ Programming
07-18-2011, 04:21 PM
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.