1. Sivaprakash BKR
  2. PowerBuilder
  3. Monday, 19 November 2018 10:44 AM UTC

Hello,

PB 2017 R3

Can I have two database columns in a single column (one below another, like doing in a tabular dw) in a grid datawindow ?   

Happiness Always
BKR Sivaprakash

 

Accepted Answer
Brad Mettee Accepted Answer Pending Moderation
  1. Monday, 19 November 2018 14:16 PM UTC
  2. PowerBuilder
  3. # Permalink

Unfortunately, no, grid datawindows don't work like that.

You can create a computed column with a ~r~n in it and make the column 2x the normal height so that both fields show up when displayed.

Compute: col1 + "~r~n" + col2

This will work if col1 & col2 are strings, otherwise you'll need to use the string function to format the data properly.

Comment
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.