
Populate a Flexgrid With Desired Columns and Filtered Rows
Populate a flexgrid control with specified columns and filtered rows by drawing the control and calling this routine: Dim strWhere As StringstrWhere = ” WHERE PeopleAddressesID=4502″Call PopulateFlexGrid(Me.MSFGrid, “tblPeopleAddresses”, strWhere,”PeopleAddressesID”, “BuildingName”, “City”, “State”)——————————————————————————————————————————————————-Public Sub PopulateFlexGrid(FlexGridControl As MSFlexGrid, strTableName AsString, strWHERECriteria As String, ParamArrayColNames()) Dim adoRst As ADODB.Recordset Dim intI As Integer