I am trying to pass a specific record to the
start_window command.
The window will be run from an rbasic routein and open and display a
specific record.
So far I have the window opening but can't get it to open with
a particular record.
Is there something I need to put in the CreateParam
spot to make it display record # 1455 or whatever?
start_window('CUSTOMERS','INVOICES',CreateParam)
Thanks,
Roger
Roger,
I just posted a response to this exact question. Here is the link to that answer.
Roger I just wanted to simplify it for you.
lets just say that the CREATEPARAM in the CREATE event is the data in question then use these sentences.
assume that….
FOCUS=the focus where the data is to be.
RESULT=SET_PROPERTY(FOCUS,'TEXT',CREATEPARAM)
* this statement will put the visible data on the window. RESULT=SEND_EVENT(@WINDOW,'READ') * this statement will start the read event for the window.
I hope this is ok for you. I found it very confusing unless someone really really simplified it for me. If this is way too simple for you
im sorry. Just trying to help…