Embedded views: an annoying difference between 5 and 6. Workarounds?

I just upgraded some clients and servers to R6.01.

I have a very simple application that was working just fine with R5. There is a form with action bar. The action bar has a button labelled “edit”. It’s the standard button that is available for action bars – no code or formulas or anything.

The form also has an embedded view that has an account detail.

With R5, when you click on the edit button it edits the main document.

With R6, when you click on the edit button it edits the first document in the embedded view.

I don’t want it to work this way!

I could probably open the main document in edit mode and force the focus to the first field, but I’d rather not do that as this form doesn’t change too often.

Is there a work around that will prevent the system action “edit” on the action bar from editing the first item in the embedded view on a form. I’m stumped on how to do this without editing the document.

Thank you all in netland. I appreciate the community and your assistance.

Subject: embedded views: an annoying difference between 5 and 6. Workarounds?

Try enabling the property ‘No initial focus’ on the form containing the embedded view. This will prevent focus from going into the embedded view. Edit should then put the current doc in edit mode.

Vin Manduca

Ibm

Subject: arrrrghhh, I should have tried that: no initial focus

“…try No Initial Focus…”

Thanks for your help. I think that’s a new R6 option, and I foolishly didn’t try it, given that the app worked in R5.

Embedded views are a most useful feature

Thanks again for taking the time to reply. I really appreciate your assistance.