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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What's the maximun length for commandtext?

Status
Not open for further replies.

Moogles

MIS
Oct 6, 2002
37
US
It seems that text longer than 256(?) are truncated, is it right?

TIA
 
Moogles,

Could you provide more detail? Are you referring to to the .Text property of a command button or a command in VB or something else?
 
Hi,

The commandtext is one of the properties of an ADO connection command object.

TIA
 
Sorry about my misunderstanding your post. Unfortunately, I don't have the answer for you. Good luck!
 
Still, thank you!
I think I have accepted the fact that it only allow 255 chars because the datatype for commandtext is string.

Unless someone out there knows more....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top