Solved

Marking a grid cell?

Posted on 1998-05-31
3
293 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

708 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

11 Experts available now in Live!

Get 1:1 Help Now