Solved

HFlexGrid Recordset

Posted on 1998-12-11
2
238 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…

776 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