DIGIT-ARC read-only archive · snapshot: July 23, 2026

Access and VB6

8 posts · originally from https://geek.digit.in/community/threads/access-and-vb6.127847/

P
prabhatmohit Original post #1
Jun 5, 2010 at 10:36 PM
Hi friends,

I am developing an application using VB6 and Access using ADO
But the textboxes in Vb is showing incomplete info.
like first five character of name, phone no. etc.

Kindly let me know how can I correct it!
asingh
asingh #2
Jun 5, 2010 at 10:42 PM
^^
Meaning....too vague a question. What is coming incomplete, the field pull via ADO, or the form property is not displaying proper. More details are needed.
P
Jun 5, 2010 at 10:55 PM
@asigh the fields pulled via ADO are not shown fully...like first 5 chars of a 7 charactered name and so on...
asingh
asingh #4
Jun 5, 2010 at 11:35 PM
When you pull the field via the connection, is it coming in "complete" via the connection, and getting truncated when you assign it to a form control..?
krishnandu.sarkar
Jun 5, 2010 at 11:52 PM
Well.......look for the length of textboxes. asigh is right. Datas are comming as they are in database. Something wrong in VB side. Check the coding and properties of the controls.
asingh
asingh #6
Jun 6, 2010 at 12:08 AM
Just put a watch on the variable where you store the pulled values. First verify that.
P
Jun 7, 2010 at 1:47 PM
I am not storing it in variable.The code I m using is

Set txtaddress.DataSource = fpersonal
txtaddress.DataField = "Address"
asingh
asingh #8
Jun 7, 2010 at 4:13 PM
Could you paste the whole code here...

1. How you made the connection.
2. The SQL syntax.
3. The assignment to the control.