Results 1 to 3 of 3

Thread: One to Many Join in True DB

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    11

    Question

    Does anyone know of a way to suppress the duplicate rows that are a result of a one-to-many query in a grid?

    Say I have TrueDB up with 3 columns. The last 2 columns are on their own split.

    So Split 1 contains one column - Name
    Split 2 contains City,State

    The idea is to have the name print once with all their city/states on the right. ie:

    <left split>
    Name
    ------
    Joe Blo
    <blank cell>
    John Doe
    <blank cell>

    <right split>
    City/State
    ------
    Boise, ID
    Denver, CO
    Baltimore, MD
    Santa Fe, CA

    Something to that effect. Kind of hard to display in this window. Basically what I'm getting now is Joe Blo and John Doe printing twice on the left column.

    Any ideas are welcome. Thx!
    Rob Seliga
    VB Developer

  2. #2
    Guest

    Wink

    Maybe u can group your colums ?
    With TrueDB U can
    */
    When the DataView property is set to 2 - Group, a grouping area is created above the grid. Until column headers have been moved there/*
    So if U like to clear double's you can drag the columns to the grouping area.

    Hope You can use this tought.

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    11

    Cool One to Many Join in True DB

    I didnt find exactly what you were referring to in the grid options, but when you said 'group your columns' i started weeding through the help file searching for 'group' and found out that there is a .merge method that does exactly that.

    gridname.columns(x).merge = true

    works like a champ! i really appreciate your help.

    thank you
    Rob Seliga
    VB Developer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width