views:

19

answers:

1

How to display two tables in single msflexgrid control in vb6

A: 

You can add anything to the flexgrid.

The only thing that you have to do is

flexGrid.AddItem ""

This adds a new row to the FlexGrid. Now you have to add the information to each cell. For each cell, set

flexGrid.Row = row
flexGrid.Col = col

and then add the information to the cell with:

flexGrid.Text = info

So, you have to iterate through your tables and add your data to the flexGrid.

Joaquín M