merge columns

  • Looking for something like this?

    Select PersonName + ', ' + DogName as FullName from dbo.YourTable

    Note that this assumes that you don't have nulls in the table.

  • no...I definitly need the dog on the line below the owner.

    Is there a write line command or something to make the dog go to the next line?

  • Select PersonName + Char(13) + char(10) + DogName as FullName from dbo.YourTable

    BTW this is something that you should do on the client side, not in the query. It's something very easy to do in vb.

  • how would you do that in VB?

  • me.txtbox.text = myrs.fields("Field1").value & vbcrlf & myrs.fields("Field2").value

  • Or actually put the 2 textbox one above the other .

Viewing 6 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic. Login to reply