pls pls pls help me out!!!!!!!!! Append new field in the existing table using ADO.
- From: saxenavaibhav17@xxxxxxxxx
- Date: Wed, 18 Jul 2007 00:54:29 -0700
Hi everybody,
I want to append new Column 'firstname1' into the existing table say
"geo" its already having 2 columns name 'salcode', and 'salary'.I used
following code its run perfectly without any error but when I opened
the database its not having new column?
Is this not work.
/* _bstr_t name("firstname1");
FieldsPtr fields;
FieldPtr field;*/
//pRstTitles->get_Fields(&fields);
/* pRstTitles->Fields->Append(name, adVarChar , 15,
adFldUnspecified);
pRstTitles->CursorLocation = adUseClient ;
pRstTitles->LockType = adLockOptimistic ;
pRstTitles->Open("geo",
_variant_t((IDispatch *)pConnection,true), adOpenStatic,
adLockOptimistic, adCmdTable);*/
Thanks in Advance Guys..
Pls pls pls pls pls help me out!!!!!!!!!!
I need it very urgently
.
- Follow-Ups:
- Re: pls pls pls help me out!!!!!!!!! Append new field in the existing table using ADO.
- From: Bob Barrows [MVP]
- Re: pls pls pls help me out!!!!!!!!! Append new field in the existing table using ADO.
- Prev by Date: Re: ADODB.Recordset: Operation is not allowed when the object is closed. (3704)
- Next by Date: Re: pls pls pls help me out!!!!!!!!! Append new field in the existing table using ADO.
- Previous by thread: ADODB.Recordset: Operation is not allowed when the object is closed. (3704)
- Next by thread: Re: pls pls pls help me out!!!!!!!!! Append new field in the existing table using ADO.
- Index(es):
Relevant Pages
|
|