C
Charles Fineblum
Hi:
I'm trying to add a parmater of OleDbType SmallInt. It supposed to map to
int16, so I do the following:
OleDbParameter* pP2 = new OleDbParameter(S"FK_tblRaces",
OleDbType::SmallInt, 0);
pP2->Value = Int16(5); // 5 is value
this->oleDbInsertCommand1->Parameters->Add(pP2);
It bombs because not object*. How do you get object* of Int16?
Thanx,
Charlie
I'm trying to add a parmater of OleDbType SmallInt. It supposed to map to
int16, so I do the following:
OleDbParameter* pP2 = new OleDbParameter(S"FK_tblRaces",
OleDbType::SmallInt, 0);
pP2->Value = Int16(5); // 5 is value
this->oleDbInsertCommand1->Parameters->Add(pP2);
It bombs because not object*. How do you get object* of Int16?
Thanx,
Charlie