|
-
September 25th, 2003, 02:31 AM
#1
C_Recordset::AddNew in VC6
I'm using Visual C++6 and I want to add a new record in a recordset.
I must use the C_Recordset::AddNew(const VARIANT& FieldList, const VARIANT& Values) method
I don't know how to create the arrays to pass to the AddNew method. I saw that I should use SafeArrays but I can't find clear examples in C++...
For example my table contains those fields:
Ident : integer, primary key
Name : string
Number : integer
how do you write the code for inserting a new record?
Thank you!
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
|