agfk
asked on
how do I use IsFieldNull?
According to the docs, IsFieldNull takes one parameter, void *pv. What
does pv want to be pointed at? The following doesn't work:
CDBVariant varValue;
m_pRecordSet->GetFieldValu e(TableDat a[0], varValue, SQL_C_SLONG);
if (m_pRecordSet->IsFieldNull (&varValue ))
// do something
else
// do something else
Thanks.
does pv want to be pointed at? The following doesn't work:
CDBVariant varValue;
m_pRecordSet->GetFieldValu
if (m_pRecordSet->IsFieldNull
// do something
else
// do something else
Thanks.
Check MFC samle Catalog2 in Database section
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.