Solved

To all

Posted on 1998-06-10
2
142 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

832 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