Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to Put Data in Data Bound Grid at run time

Posted on 2002-06-21
6
Medium Priority
?
187 Views
Last Modified: 2010-05-03
Hello
      I am getting a problem to put data in grid(FlexGrid,DBGRID)at run time .
       Please help me.
                        Amitesh
0
Comment
Question by:ami12
[X]
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
6 Comments
 

Author Comment

by:ami12
ID: 7098106
Thanks
0
 
LVL 3

Expert Comment

by:Bahnass
ID: 7098165
FOR FLEXGRID
USE TEXTMATRIX


FLX.TEXTMATRIX(R,C)= VALUEUNEED

DBGRID  MORE TRICKY

G.ROW=...   G.COL=...    G.TEXT =.
0
 
LVL 2

Expert Comment

by:priya_pbk
ID: 7098166
Try this for the start:

Open a new project and add a Adodc and Datagrid control on to the form and write this code in the form load event

Private Sub Form_Load()
'for datagrid control
Set DataGrid1.DataSource = Adodc1

'for mshflexgrid control
Set MSHFlexGrid1.DataSource = Adodc1

End Sub

You can do lot of things in datagrid control, ie add, delete or updata records but not so with mshflexgrid which is uneditable

-priya
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 3

Accepted Solution

by:
Bahnass earned 80 total points
ID: 7098314
On the other hand
 flexgrid is colored DBGrid is not
flexgrid proparties can be handled per CELL not only per col
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7923716
Hi ami12,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept Bahnass's comment(s) as an answer.

ami12, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
ID: 7968441
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
Suggested Courses

636 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