|
-
May 20th, 1999, 02:59 PM
#1
Setting True/False Field
When you set a text field in a DAO database, you do something like:
COleVariant v;
v.SetString("Hello", VT_BSTRT);
m_rs.SetFieldValue(field, v);
However, I want to be able to set a True/False field in my database. How do I go about doing this? Do I need to use COleVariant::ChangeType()? And if so, how do I go about doing it? Thanks in advance for any help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|