how to pass customer_id from one window to another?

808 views Asked by At

I have two windows w_customerorder and w_customerfree and the cusromerorder window has orderid which is identity column.now i want to pass this orderid to the customerfree window which has orderid column while its opening.can any one help me with this?

1

There are 1 answers

5
Michael On

Do you open w_customerfree from w_customerorder?

Then you can use openwithparm(w_customerfree, ll_orderid) and in the w_customerfree window you write ll_orderid = Message.longparm in the open() event.

Even if you don“t open w_customerfree from w_customerorder you can use the Message.longparm variable. Then you just fill it manually in w_customerorder

Message.longparm = ll_orderid