can anybody help me how to use MSFlexGrid in VB?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vikas1111
    New Member
    • Feb 2008
    • 122

    can anybody help me how to use MSFlexGrid in VB?

    Hi All,,,, i am new to MSFlexGrid can anybody teach me how to use it?
    how can i connect it to my database which is MS Access? I am creating a company database project in which i have to select the name of the employee from a combo box and the details must be displayed in the MSFlexGrid...
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    This topic has been discussed here several times before. Please use the searchbx with appropriate key words for related discussions.

    Comment

    • Veera babu
      New Member
      • Mar 2008
      • 1

      #3
      The usage of msflexgrid is like ,
      Place ADODC control to form.
      use ADODC control then connect your data base location to this using adodc connectionstrin g.
      Now Place MSFlexGrid control to form.
      set MSFlexGrid's datasource property to 'adodc1' .

      now run the form .

      Now The records from your database will display in that MSFlexGrid.

      This over .

      Do it now

      Comment

      • vikas1111
        New Member
        • Feb 2008
        • 122

        #4
        Originally posted by Veera babu
        The usage of msflexgrid is like ,
        Place ADODC control to form.
        use ADODC control then connect your data base location to this using adodc connectionstrin g.
        Now Place MSFlexGrid control to form.
        set MSFlexGrid's datasource property to 'adodc1' .

        now run the form .

        Now The records from your database will display in that MSFlexGrid.

        This over .

        Do it now

        hI
        I WANT TO DO IT WITHOUT USING ADODC.. i.e.. BY WRITING CODE...

        Comment

        • debasisdas
          Recognized Expert Expert
          • Dec 2006
          • 8119

          #5
          Use ADODB to fetch data and TextMatrix to fill the grid.

          Comment

          • QVeen72
            Recognized Expert Top Contributor
            • Oct 2006
            • 1445

            #6
            Hi,

            Open a new Recordset with Cursor Position=Client side, and set the DataSource of FlexGrid to the Recordset and Refresh..

            REgards
            Veena

            Comment

            Working...