Solved

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

Posted on 2011-03-02
3
572 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
[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
3 Comments
 
LVL 1

Accepted Solution

by:
hiraben earned 250 total points
ID: 35020772
Would selecting the table and using recno() work for you?
0
 
LVL 42

Assisted Solution

by:pcelba
pcelba earned 250 total points
ID: 35020928
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
ID: 35021212
thanks guys
0

Featured Post

Turn Insights Into Action

You’ve already invested in ITSM tools, chat applications, automation utilities, and more. Fortify these solutions with intelligent communications so you can drive business processes forward.

With xMatters, you'll never miss a beat.

Question has a verified solution.

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

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…
Today’s effective marketing is about coming down to the customers’ level and engaging in a whole new way. A text message is one of the most effective and influential ways that you can engage your customers. Here are eight ways that you can utilize t…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

687 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