Open Worksheet with subpage in Edit mode

poppinspoppins Member Posts: 647
Hi everyone,

I designed a custom page with type Worksheet which contains a subpage.
I am running it with the following code:

IF PAGE.RUNMODAL(PAGE::"My Page",MyRec) = ACTION::LookupOK THEN BEGIN
.......

The thing is I am not able to insert records in the subpage.
It seems that it is not editable.

How can I achieve that?

Thanks in advance :smile:

Comments

  • skullaskulla Member Posts: 140
    What happens if you use PAGE.RUN instead of PAGE.RUNMODAL.
  • poppinspoppins Member Posts: 647
    skulla wrote: »
    What happens if you use PAGE.RUN instead of PAGE.RUNMODAL.

    With PAGE.RUN I don't have the problem anymore but I have other problems: I don't have a Cancel button for the page, just an OK one.
    Besides, if I need to put some code after the PAGE.RUN line, the page doesn't stay in front after running, it is automatically reduced...
Sign In or Register to comment.