CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2001
    Posts
    18

    Displaying several recordsets with a single MSHFlexGrid object

    Hi ,

    I'd like to show several recordsets using a single MSHFlexGrid \ DataGrid .
    Is it possible to change the recordset shown by one of those objects ?(every recordset is related to different table in my database).
    If the answer is possitive - how should I do it?
    Many thanks
    Sagiv



  2. #2
    Join Date
    May 2000
    Location
    New York, NY, USA
    Posts
    2,878

    Re: Displaying several recordsets with a single MSHFlexGrid object

    You can use MSFlexGrid to show several tables. If tableas are identical you can create a recordset using UNION, if they are different tabel you can use JOIN statement in your SQL. After creating a recordset use it as a recordsource for your msfg.

    Iouri Boutchkine
    [email protected]
    Iouri Boutchkine
    [email protected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured