|
-
Aug 10th, 2000, 03:23 PM
#1
Thread Starter
New Member
Background: In the MSFlexGrid application that I am writing, I have a For...Next search loop that searches every cell for a string input by the user. When there is a "hit" the record that contains that string is displayed in another MSFlexGrid.
Problem: Records in the database often contain several instances of the search string, so these records are displayed several times. I created a variable strComp into which I store the record that has just been found. I would like to compare it with the current search string variable strRow and if they match, exit out of the loop so that there is only one copy of each record displayed instead of multiple copies. What is the proper syntax for such an expression? VB6 won't accept anything I've tried.
Thanks,
-Bob Smythe
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|