Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on 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 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.