Solved

how do i refernce the row on a click event in a grid

Posted on 2011-03-02
3
566 Views
Last Modified: 2012-05-11
I have a grid on a from which has a column with showing filepaths
I want to bring up the file() routine to edit these paths
I created a Click event on the field but when I enter the routine the thisform.grid.ActiveRow always show 0 whatever row i click on

How can I create this cell editor ?
0
Comment
Question by:MikeHillsi2g
3 Comments
 
LVL 1

Accepted Solution

by:
hiraben earned 250 total points
Comment Utility
Would selecting the table and using recno() work for you?
0
 
LVL 41

Assisted Solution

by:pcelba
pcelba earned 250 total points
Comment Utility
If you are clicking in a cell containing the path then you don't need to look for some row because you already are on the row.

And the value is in  thisform.grid.ColumnName.Text1.Value.  Better option is to access the value directly in the data table or cursor displayed in the grid. Simply use the table column name as the reference.
0
 

Author Closing Comment

by:MikeHillsi2g
Comment Utility
thanks guys
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Microsoft Visual FoxPro (short VFP) is a programming language with it’s own IDE and database, ranking somewhat between Access and VB.NET + SQL Server (Express). Product Description: http://msdn.microsoft.com/en-us/vfoxpro/default.aspx (http://msd…
In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now