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
Solved

Marking a grid cell?

Posted on 1998-05-31
3
298 Views
Last Modified: 2010-05-03
I have created an application which uses a grid to display information.  The user may click on the grid to enter data to that cell.  I would like to know how to mark the cell once data has been entered so that overwriting is only permitted after some checks have been done?????  I wantedto set a variable to 1 for instance and us an IF statement to run the checks or set a variable to True.  But assigning it to just that cell has proved very difficult, can anyone help???????/
0
Comment
Question by:PWork
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
fujicast earned 50 total points
ID: 1462145
Hi, I think you must use Matrix techniques.

For examples, you define the grid 5x4 (5 columns, 4 rows).
You define to the arrays (if you want to dynamic rows cols, refer to how to use dynamic array (REDIM Statement)

DIM GridFlag(5,4) as Boolean

When user change the contents, mark true on your array. And so on.

Hope this help.. eventhough wasting memory. Well... I think there is no simpler way.

Regards,
Fuji
0
 

Author Comment

by:PWork
ID: 1462146
Sounds great but I do not understand how to actually implement it,  do you have an example that I might look at for clarification??????????  I am a new user of VB and am still learning.  Thanks
0
 
LVL 1

Expert Comment

by:fujicast
ID: 1462147
PWORK,

I think I don't mind to guide you about the samples. Unfortunatelly, I can't do that now, because I currently annoyed by my vb project for my client.

if you don't mind send me mail to fujihome@hotmail.com.

Thanks,
Fuji
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB6 - Convert HH:MM into Decimal 8 62
Add and format columns in vb6 7 63
Spell Check in VB6 13 127
Help me. 3 60
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

828 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