Solved

Grid Control

Posted on 2002-07-25
6
210 Views
Last Modified: 2011-09-20
I have a grid control that has text boxes at the bottom of the screen that are both linked to a record source.   When the user presses the edit button is there a way that I stop them from moving to a different record in the grid.
0
Comment
Question by:curtis591
[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
 
LVL 1

Expert Comment

by:prakashbitra
ID: 7177982
Get the row using .selectedrow property and increase the row number to the next record only when the .Rows > 1
and the current row position is less than .Rows
0
 
LVL 6

Author Comment

by:curtis591
ID: 7178016
Where do I want to put that.  Will this stop the user from being able to tab and arrow around the grid while they are in edit mode.
0
 
LVL 6

Author Comment

by:curtis591
ID: 7178184
Where do I want to put that.  Will this stop the user from being able to tab and arrow around the grid while they are in edit mode.
0
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 50 total points
ID: 7179341
prakashbitra,

You have been here long enough to know not to lock questions with answers.  If you have any questions about this policy, please re-read the EE Guidelines (http://www.experts-exchange.com/jsp/cmtyQuestAnswer.jsp)

curtis591,
Feel free to reject any proposed solution that does not answer your question.  This will put it back in a more visible forum.

Anthony
0
 
LVL 2

Expert Comment

by:ventond
ID: 7180709
Why make them use the edit boxes? Most grids will allow inline editing. If the user moves to another row his current changes are saved.

If you still want to use text boxes, how about disabling the grid until OK or cancel is clicked?

Edit_click
grid.enabled=false


OK_click
grid.enabled=true

0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 7196178
curtis591,

I think you may have awarded points to the wrong comment.  Post a message in Community Support and they can set it straight.

Anthony
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

707 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