Solved

To all

Posted on 1998-06-10
2
139 Views
Last Modified: 2010-05-03
Hi all,
   I'm using the True DBGrid standard Edition also known as "Big Jake"
Version (1.0e). I have created a Grid with 5 columns and 5 rows in my Visual
Basic 4.0 applicaton and I have set my data mode to "Unbound Extended-Mode 2"
Assuming my cursor are now place at
Column 3,Row 3. If I were to start typing data into Column3, Row 3, may I
ask how can I capture the position of this particular cell with the
available Grid methods or Events so that I would be able to pass these two
parameters(ie the specific column and row number,(3,3) in this case) to my
error routine to validate the data entered.
I would be most grateful if anyone could enlighten me with the necessary
codes.
Thank You.
0
Comment
Question by:kian042298
2 Comments
 
LVL 1

Accepted Solution

by:
terencebeh earned 100 total points
ID: 1462977
1. At the KeyPress event of the grid, do you validation.
2. Use dbgrid.columns(dbgrid.col).value

0
 

Author Comment

by:kian042298
ID: 1462978
Hi terencebeh,
   Do you have any ideas or some sample codes to my question.
Thank You.

Best regards,

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…

747 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

10 Experts available now in Live!

Get 1:1 Help Now