Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

HFlexGrid Recordset

Posted on 1998-12-11
2
243 Views
Last Modified: 2013-12-25
How can a HFlexGrid control be bound directly to a shaped recordset (ADODB.Recordset) without going via a data control.  I suspect that another grid control is required (with similar functionality) but cannot find one.  Can you suggest such a control?
0
Comment
Question by:RedWave
2 Comments
 
LVL 3

Accepted Solution

by:
jjbyers earned 200 total points
ID: 1488900
set HFLexGrid.Datasource=Recordset

Hope this is what your looking for.
0
 

Author Comment

by:RedWave
ID: 1488901
Thanks, but that was exactly what I was doing - and getting a run-time error saying that the grid doesn't support that kind of binding.  I have found my own answer though.  

The problem was that I was setting the datasource and datamember at design-time to equivalent dataenvironment objects in order to format the grid a little bit better.  Clearing these before attempting to bind it to the recordset made the difference.  I discovered this not long after placing the question.  

As usual the answer was very simple - and very context sensitive - it would have been very difficult to foresee this as my problem.  But I am very impressed with how quickly you responded.

Thanks a lot.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question