How to insert record to another window field
Robert Mostyn
robertmostyn99 at gmail.com
Tue Jul 30 05:27:49 EDT 2013
My suggestion Ambrose is to capture all the details on your first window in a row variable. When you open the next window, pass the row variable as a parameter to the next window. When the $construct method execute the parameter you have set as Row will contain the details of previous window. Copy parameter variable (type row) into an instance variable (type row).
Voila... you have everything from previous window in new window.
Rob
On Tue30 Jul 2013, at 10:06, Ambrose Tobon <amkila at yahoo.com> wrote:
> Hi List,
>
> This kind of question is very simple in other languages but i find it tricky to do in Omnis Studio 6.0.
>
> The scenario:
>
> I have a Policy Details window screen whereby a user can capture policy details including policy number and policy terms. After capturing all the details, a user is suppossed to link the policy with the next of kin and/or child/beneficiary details by policy number. This is done by keying in the child/nok names and policy number(similar to the one already captured).
>
> Required:
>
> When the NOK/Child window screen is opened, the policy number captured in the policy details should be automatically assigned to the field in the nok/child window instead of keying in again. How do you do that?
>
> I hope this information can assist the list in helping me out.
>
> Thanks.
>
> Ambrose
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list