Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

inserting ntext from Visual Basic 6.0

Status
Not open for further replies.

msilka

Programmer
Jan 17, 2002
50
US
I have a SQL 2000 database table with an ntext field.
I want to execute a stored procedure from VB 6.0 that will
insert a record into this table.

I created an ado command object in VB and appended the parameters for the fields which I will be inserting.

For the ntext field what is the TYPE variable for the CreateParameter statement?

Thank you
 
I think you are looking for adWChar or adVarWChar where the W stands for Wide or 2byte character..

There is also an adLongChar and adLongVarWchar, but I think it is the adWChar you need..

HTH

Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top