VB logic

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kirubagari
    New Member
    • Jun 2007
    • 158

    VB logic

    Hi,

    I have a set of data
    Number Path
    1,2,3,4,5,6 Employee
    2,3,4,6 Employee

    There is 2 column in db.I need to check if the path is same name ,i need to combine the number.
    1,2,3,4,5,6,2,3 ,4,6.
    Kindly help.
    Code:
       If colVIDRemark <> 0 Then
             Set dicVIDRemark = colVIDRemark.Item(i)
             strRemark = dicVIDRemark.Item(KEY_PATH)
             End If
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Return a record set that's sorted by the Path and then loop through the records and append the Number together when the Path is the same.

    Comment

    • kirubagari
      New Member
      • Jun 2007
      • 158

      #3
      Hi ,
      Could you show me the logic.Need some help.

      Comment

      • Rabbit
        Recognized Expert MVP
        • Jan 2007
        • 12517

        #4
        My post lays out the logic needed. What you want is an implementation and I don't normally do that unless the poster has shown an attempt at the logic I lay out.

        Comment

        Working...