Solved

To all

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB6 code to programmatically convert pdf to excel 21 93
VBA saving file message display 5 67
How to make an ADE file by code? 11 87
Formula problem with Excel attachment 6 27
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

831 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