on 10-16-2006 1:22 PM
Hi,
How to set default value for a column in matrix which is of type combo(Yes/No).
The cell has combo in it
Manoj
I'm not sure, but I guess that if you set the values and the default one in the field on the table, it will appear as default in the matrix column!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
The column is set as combo. Now you need to tell SBO what constituates a Y or N. In my example my Column "Col6" must display Yes if the RENTED column = 1 and No if the RENTED column = 0. (I'm obviously using a datasource to tie the data to the matrix)
oMatrix = frm.Items.Item("YourMatrixID").Specific
oColumns = oMatrix.Columns
oColumn = oColumns.Item("Col6")
oColumn.DataBind.SetBound(True, "@VIDEO", "U_RENTED")
oColumn.ValOn = "1"
oColumn.ValOff = "0"
User | Count |
---|---|
94 | |
11 | |
10 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.