Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Edit Data Using MSHFlexGrid

Posted on 2004-09-26
6
Medium Priority
?
386 Views
Last Modified: 2013-12-25
Hai...

I able to display data at MSHFlexGrid. Now, i want to edit data at MSHFlexGrid. What i want is, i can click at any cell at MSHFlexGrid, and i can change the data at the MSHFlexGrid. But, i don't have any idea to do it. Can any body help me. Plz....
0
Comment
Question by:senico
  • 3
6 Comments
 
LVL 26

Expert Comment

by:Rejojohny
ID: 12157900
by default MSHFlexgrid is not editable .. wht u could do is add a textbox to the form. make its "visible" property to false. when a user selects a particular cell, move the textbox to the exact same position as the current selected cell. make it visible. So the user enters the data within the textbox .. when the user clicks on another cell, again move the textbox to the new cell position, but remeber to assign the textbox value to the old cell .. this is a bit tedious process. u could think of looking at some 3rd party grids which provides editing features .. like sharpgrid, VSflexgrid, sherdian grid, spread control etc ...
0
 
LVL 26

Accepted Solution

by:
Rejojohny earned 500 total points
ID: 12157909
have a look at this link provided by microsoft .. exactly like the way i tried to explain above .. this link contains the code to implement it ...
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/KB/ARTICLES/Q85/1/09.asp&NoWebContent=1
0
 
LVL 26

Expert Comment

by:Rejojohny
ID: 12816467
Please do have a look at my comments and the link provided ..
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

971 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