|
-
January 30th, 2008, 05:53 PM
#2
Re: getField() with ordinal fails : VC++ (2008 express) and SQL Server (2005 express)
And almost immediately after I posted this, I stumbled on the answer.
So for anyone else that may run into this issue, you need to cast your ordinal index as a long, so:
recordset->GetFields()->GetItem(0)
wont work, but:
recordset->GetFields()->GetItem(long(0))
will.
Grrr...
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
|