setting the maxlength???

cjaymcmeans

Well-known member
Joined
Jan 12, 2005
Messages
85
Programming Experience
3-5
i know it is possible to set up the maxlength of a field to a textbox.. my problem is how do i do it without binding... and by using datasets, datatables and rows...

tnx...
 

Paszt

Staff member
Joined
Jun 3, 2004
Messages
1,500
Location
Raleigh, NC - USA
Programming Experience
Beginner
Just select the textbox in the design window and look for the MaxLength property in the properties pane. Set the value to an integer.
Or in code: TextBox.MaxLength = someInteger

Not sure what you mean by "using datasets, datatables and rows..."
 

cjaymcmeans

Well-known member
Joined
Jan 12, 2005
Messages
85
Programming Experience
3-5
when ur using adodb...
its usually like this

textbox.maxlength=rs.fields("field").definedsize

i want to know this thing is made by using datasets...

hope u guys can help...
tnx..
 
Top Bottom