Chazper
Member
Can't store more than 50 characters in fields in .mdb using vb.net applctn
This is a nice forum! Just finished studying vb.net and started creating my first sample program (a replica of friendster but in windows form).
Problem: I can't store more than 50 characters in fields of a .mdb
Action taken:
I've set the size of the field = 255
When I input the value directly on ms access, it accepts 255 characters. But when i use my vb application, it can only store 50 characters on the field. Even though i've typed in more than 50 characters in the binded textbox...
MemberDataSet.Member_s_InfoTable(index).About_MyselfColumn = Me.txtAboutSelf.Text
I suspect that the maxlength of the field in the dataset is set to a max of 50? If this is the case, I'm stuck and currently trying to find a way in setting the maxlength of the field of the DATASET. Am I on the right track? Can someone help? Thanks
This is a nice forum! Just finished studying vb.net and started creating my first sample program (a replica of friendster but in windows form).
Problem: I can't store more than 50 characters in fields of a .mdb
Action taken:
I've set the size of the field = 255
When I input the value directly on ms access, it accepts 255 characters. But when i use my vb application, it can only store 50 characters on the field. Even though i've typed in more than 50 characters in the binded textbox...
MemberDataSet.Member_s_InfoTable(index).About_MyselfColumn = Me.txtAboutSelf.Text
I suspect that the maxlength of the field in the dataset is set to a max of 50? If this is the case, I'm stuck and currently trying to find a way in setting the maxlength of the field of the DATASET. Am I on the right track? Can someone help? Thanks
Last edited: