cancel
Showing results for 
Search instead for 
Did you mean: 

update matrix with dbdatasource

Former Member
0 Kudos

I have a little time using ui api ( 3 days) and I have some questions

1.- how can i add "tabs" to a folder with screen painter or i need create the folder from .net to add a tabs?

2.-Do you now how to bind data in a System Form, between a matrix object and a custom user table?

For example, I would like to let user add new rows to the matrix and when he fills data in it and press

button 'Update' on system form, data is saved in database.

thx

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

1. Tools -> Screen Painter ->Add Folder(Before Add Matrix) item

2. Its a DB Datasource means u have to bind in XML form

<databind databound="1" table="@Tablename" alias="U_DocNo"/>

but its a userdatasource means u have to write the code for Update option

Edited by: helensofi on Apr 18, 2011 1:17 PM

Former Member
0 Kudos

About the first one, you can add folder using screenpainter easily, click in add folder, a kind of squad will be appear, so move him and add your other folders, after that the folder will be already visible but you will need to develop the action of itempressed in the folder item to navigate between their

About the second one, is the same of the answer above

Former Member
0 Kudos

Question 1 - I've never used screenpainter to do that, I've always done it in code, so I don't know if it's possible or not I'm afraid.

Question 2 - It is not directly possible; A system matrix is always only linked to a system table. You can add UDFs to a system table, and they will appear on the matrix automatically & any data entered in them will be written to that system table.

If you want to also save to a UDT, you will need to implement that yourself, using the UI to catch what they have entered and the DI to write it to a table.