Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 02-11-2005, 10:23 PM   #1 (permalink)
nismat
Registered User
 
Join Date: Feb 2005
Posts: 1
nismat is on a distinguished road
How to scroll down DataGrid Programatically.

I am using VB6 to read data from Access for Reporting in Excel.
While writing data excel I noticed that not all data is read by my Loop from Datagrid and some data is missing. On furhter investigation found that my loop only reads the rows which are visible in Datagrid.
The rows which are down and not appearing in list and need scrolling causing following error:
6148 - Invalid row number
Any ideas why Datagrid is behaving this way?
Also I think if I could scroll down programatilly, that will resolve this issue.
So
How to scroll MS Datagrid programatically in VB?

Thanks.
nismat is offline   Reply With Quote
Old 04-19-2005, 12:40 PM   #2 (permalink)
AlexB1234
Registered User
 
Join Date: Apr 2005
Posts: 7
AlexB1234 is on a distinguished road
If it helps any, an alternative way of doing it would be to work with the dataset, i.e. iterate the recordset that populated the datagrid.
AlexB1234 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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
scroll on list dirs HTML, XML, Javascript, AJAX 3 11-14-2004 04:28 AM
[C# & Mysql] DataGrid and textBox beeper MS Technologies ( ASP, VB, C#, .NET ) 1 10-20-2004 06:46 AM
Filling a datagrid with BLOB data vinny MS Technologies ( ASP, VB, C#, .NET ) 2 08-18-2004 11:06 PM
Connect from DataGrid to Detail wvjim MS Technologies ( ASP, VB, C#, .NET ) 1 11-06-2003 02:42 PM


All times are GMT -8. The time now is 02:16 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting