Assign Data from a Recordset to FlexGrid

Category:
Database
Type:
Snippets
Difficulty:
Intermediate

Author: R.K.T. ASHOKA.

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
This Procedure is used to display the Data of a Recordset in a FlexGrid Control. It has some some features like Auto Resizing the Columns according to the data in it. I can say that this Procedure is quite easy to understand and it is well commented so it can be easily customized. You can migrate to Flex Grid from Data Grid for avoiding unwanted errors that can't be controlled in Data Grid. Thank You for your interest.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: