Skip to Content

update matrix with dbdatasource

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 12, 2011 at 08:08 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 13, 2011 at 05:49 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 18, 2011 at 11:16 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.