Solved

Vb4 grid control

Posted on 1999-01-10
1
301 Views
Last Modified: 2012-08-13
In VBasic 4.0 i can not use morethan 16550 (somethig like that) rows in a grid control. is it possible to increase that number? When i write 17000 for ex. i got an error message

"Invalid row value"

thanx for your help
0
Comment
Question by:mujdat
1 Comment
 
LVL 4

Accepted Solution

by:
CraigLazar earned 100 total points
ID: 1455252
Hi
VB3 and VB4 have a limit to the number of records that are displayed in a grid control
You have hit the limit that is why you are getting that error .
Have you tried the gris controls that come with VB5 or VB6 i think Microsoft has exstended the capacity of the grid control to accept more records .
Also maybe se if there are any sheridan grid controls you could replace the standard one with .
Also look on the net say at Microsoft or try these few sites i have listed below to see if you can't pick up some 3 rd party grid controls that can handle your amount.
Web Site for Vb stuff nb nb nb
http://ftp.cgvb.com/
Web Site for Trial versions on different software
http://www.shersoft.com/download/trials.htm 
Extra Shareware Dll Files
http://www.softseek.com/Programming/DLLs_and_Libraries/
Mpeg3 files
http:/layer3.mircx.com
Internet Address for Dll Files
http://www.smart.is/pub/

Or you may have to just limit the control to displaying say only 1500 records (which would be the latest in the database)

Hope it helps a little
Good Luck
Craig
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now