Skip to Content
avatar image
Former Member

How to update data from two controls with one event

I have two forms, one contains a table view and the other a text editor.

When a line in the table view is selected, it triggers a function module that fills the text editor with text taken from a database table, using one of the fields of the table view as an importing parameter for the function module.

What I now want to do, is call another FM to save any changed data in the text editor, when another line of the table view is selected. I can't figure out how to do this though.

Any help greatly appreciated.

- Tony.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 31, 2007 at 07:18 AM

    Hi,

    Did u try giving the same event name on both the links (connector to the data services)?..

    Kavitha.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 31, 2007 at 08:02 AM

    Hi Anthony,

    Try to connect the table with the "save FM". This FM should only execute, if it contains a text (via formula). After saving it should call the FM for displaying the selected record of the table. For initializing you can call the FM for displaying directly (use a guard condition).

    Best Regards,

    Marcel

    Add comment
    10|10000 characters needed characters exceeded