Solved

find if all values are filled in a column in msflexgrid

Posted on 2014-09-17
2
121 Views
Last Modified: 2014-09-17
I am using a flexgrid in vb6 and I have a column named ProgressSetbacks.  How can I check to make sure everything in the current flexgrid column ProgressSetbacks has a value in it?
0
Comment
Question by:al4629740
[X]
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
  • 2
2 Comments
 
LVL 47

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 40329461
Try this. Set the MyCol constant to the ProgressSetbacks column (the first column is 0).    

    Const MyCol = 1
    Dim lngRow As Long
    With MSFlexGrid1
        For lngRow = 0 To .Rows - 1
            If .TextMatrix(lngRow, MyCol) = "" Then
                MsgBox "Incomplete"
                Exit Sub
            End If
        Next
    End With

Open in new window

0
 
LVL 47

Expert Comment

by:Martin Liss
ID: 40329472
I'm glad I was able to help.

In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2014
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

726 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