Solved

Using DBGrid in unbound mode

Posted on 1998-10-06
1
553 Views
Last Modified: 2013-12-26
VB5/DBGrid control

I need some assistance with using the VB5 DBGrid in unbound mode. I have obtained the controls supplemented documentation from the Apex website but I'm still can't figure out how to allow the user to add rows of data to the grid and save the cell values to an array or some other data structure.

I have written a event handler for the UnboundReadData event that works when I provide a array of prepared data. But it fails when I add new rows or if I start with a blank array and try to add to the array by responding to the UnboundAddData event the UnboundReadData handler doesn't show the data in the grid.
I'd like to see a valid structure of an UnboundAddData event handler and a UnboundReadData event handler.
0
Comment
Question by:armg
1 Comment
 
LVL 5

Accepted Solution

by:
chewhoung earned 250 total points
ID: 1487382
Have you tried the sample come with VB5?

In :
samples\misc\unbndgrd
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

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…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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 process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

832 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