Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Reply
 
LinkBack Thread Tools Display Modes
Old 05-06-2010, 10:36 PM   #1 (permalink)
Broken In
 
Join Date: Jun 2004
Posts: 179
Default Access and VB6


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!
prabhatmohit is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 05-06-2010, 10:42 PM   #2 (permalink)
Super Moderator
 
asingh's Avatar
 
Join Date: May 2008
Location: New Delhi
Posts: 5,548
Default Re: Access and VB6

^^
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.
__________________
MSI P45 Platinum(BIOS v1.7B)|Q9550[E0]@3.85Ghz@1.320V[453x8.5]MCH@1.184V|ICH@1.55V|DDR_V_Ref_A_B@1.05V|NH-D14|Corsair TWIN2X4096-8500C5(5-5-5-15)@1089Mhz@2.14V
2xHD4890[Xfire]@1000/900[MEM/GPU]|Corsair 650TX|Seagate180GB+80GB+WD1TB|SONY-DVD-R|CM690|2x120mm Scythe Ultra Kaze|DELL S2409W|APC 1100VA|Scythe Kaze Server
Windows 7 Ultimate RTM - 64BIT|Catalyst 10.5 (8.14.10.0753) forced with RadeonPRO|PS3 160GB|Sony 40EX520|AC Ryan POHD Mini|APC 800VA|APC 800VA|D425KT|CM100 Elite|2TB WD|Acer D255

Test your spoiler tags before submitting
asingh is offline   Reply With Quote
Old 05-06-2010, 10:55 PM   #3 (permalink)
Broken In
 
Join Date: Jun 2004
Posts: 179
Default Re: Access and VB6

@asigh the fields pulled via ADO are not shown fully...like first 5 chars of a 7 charactered name and so on...
prabhatmohit is offline   Reply With Quote
Old 05-06-2010, 11:35 PM   #4 (permalink)
Super Moderator
 
asingh's Avatar
 
Join Date: May 2008
Location: New Delhi
Posts: 5,548
Default Re: Access and VB6

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..?
__________________
MSI P45 Platinum(BIOS v1.7B)|Q9550[E0]@3.85Ghz@1.320V[453x8.5]MCH@1.184V|ICH@1.55V|DDR_V_Ref_A_B@1.05V|NH-D14|Corsair TWIN2X4096-8500C5(5-5-5-15)@1089Mhz@2.14V
2xHD4890[Xfire]@1000/900[MEM/GPU]|Corsair 650TX|Seagate180GB+80GB+WD1TB|SONY-DVD-R|CM690|2x120mm Scythe Ultra Kaze|DELL S2409W|APC 1100VA|Scythe Kaze Server
Windows 7 Ultimate RTM - 64BIT|Catalyst 10.5 (8.14.10.0753) forced with RadeonPRO|PS3 160GB|Sony 40EX520|AC Ryan POHD Mini|APC 800VA|APC 800VA|D425KT|CM100 Elite|2TB WD|Acer D255

Test your spoiler tags before submitting
asingh is offline   Reply With Quote
Old 05-06-2010, 11:52 PM   #5 (permalink)
Simply a DIGITian
 
krishnandu.sarkar's Avatar
 
Join Date: Nov 2007
Location: Kolkata
Posts: 2,942
Default Re: Access and VB6

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.
__________________
  • Read The Forum RULES First.
  • Before PM'ing Or Asking Any Questions To Any Mod Read The FAQ's
  • Before Starting A New Thread Read The STICKY THREADS First
  • Before Participating In Bazaar Section Read The BAZAAR RULES
krishnandu.sarkar is offline   Reply With Quote
Old 06-06-2010, 12:08 AM   #6 (permalink)
Super Moderator
 
asingh's Avatar
 
Join Date: May 2008
Location: New Delhi
Posts: 5,548
Default Re: Access and VB6

Just put a watch on the variable where you store the pulled values. First verify that.
__________________
MSI P45 Platinum(BIOS v1.7B)|Q9550[E0]@3.85Ghz@1.320V[453x8.5]MCH@1.184V|ICH@1.55V|DDR_V_Ref_A_B@1.05V|NH-D14|Corsair TWIN2X4096-8500C5(5-5-5-15)@1089Mhz@2.14V
2xHD4890[Xfire]@1000/900[MEM/GPU]|Corsair 650TX|Seagate180GB+80GB+WD1TB|SONY-DVD-R|CM690|2x120mm Scythe Ultra Kaze|DELL S2409W|APC 1100VA|Scythe Kaze Server
Windows 7 Ultimate RTM - 64BIT|Catalyst 10.5 (8.14.10.0753) forced with RadeonPRO|PS3 160GB|Sony 40EX520|AC Ryan POHD Mini|APC 800VA|APC 800VA|D425KT|CM100 Elite|2TB WD|Acer D255

Test your spoiler tags before submitting
asingh is offline   Reply With Quote
Old 07-06-2010, 01:47 PM   #7 (permalink)
Broken In
 
Join Date: Jun 2004
Posts: 179
Default Re: Access and VB6

I am not storing it in variable.The code I m using is

Set txtaddress.DataSource = fpersonal
txtaddress.DataField = "Address"
prabhatmohit is offline   Reply With Quote
Old 07-06-2010, 04:13 PM   #8 (permalink)
Super Moderator
 
asingh's Avatar
 
Join Date: May 2008
Location: New Delhi
Posts: 5,548
Default Re: Access and VB6

Could you paste the whole code here...

1. How you made the connection.
2. The SQL syntax.
3. The assignment to the control.
__________________
MSI P45 Platinum(BIOS v1.7B)|Q9550[E0]@3.85Ghz@1.320V[453x8.5]MCH@1.184V|ICH@1.55V|DDR_V_Ref_A_B@1.05V|NH-D14|Corsair TWIN2X4096-8500C5(5-5-5-15)@1089Mhz@2.14V
2xHD4890[Xfire]@1000/900[MEM/GPU]|Corsair 650TX|Seagate180GB+80GB+WD1TB|SONY-DVD-R|CM690|2x120mm Scythe Ultra Kaze|DELL S2409W|APC 1100VA|Scythe Kaze Server
Windows 7 Ultimate RTM - 64BIT|Catalyst 10.5 (8.14.10.0753) forced with RadeonPRO|PS3 160GB|Sony 40EX520|AC Ryan POHD Mini|APC 800VA|APC 800VA|D425KT|CM100 Elite|2TB WD|Acer D255

Test your spoiler tags before submitting
asingh is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
To use MS ACCESS (XP) data file in vb6 project anilvc31 Software Q&A 1 15-05-2007 03:09 PM
SQL VB6 connectivity Data access error CyCo Software Q&A 1 06-10-2006 11:03 AM
Visual Basic 6 and MS Access 2000 sohummisra QnA (read only) 8 25-03-2005 10:45 AM
MS ACCESS WITH VB6 ENTERPRISE EDITION AHHNPANTH QnA (read only) 5 17-01-2005 01:28 PM
I need help to build a project in VB6 with access ashi8902 QnA (read only) 3 12-09-2004 01:58 PM

 
Latest Threads
- by Charan
- by Charan
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 03:19 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2