Simplicty and flexibility!


OML Issues


Started by Handles
Search
You will need to Sign In to be able to add or comment on the forum!

OML Issues

Download: Exiting.png

I have had a form working for 10/20 years always worked without issue, I have added buttons changed buttons in the past without any problems, Now even if I try to change the layout of the OML and save it from :

define "act1" text .

define "act2" text .

define "act3" text .

define "act4" text .

act1 := wizDocumentClose ("MatDisplayForm") .

act2 := wizDocumentClose ("MaterialByCompany") .

act3 := ClearSelectionFilter () .

act4 := DocumentClose () .

end

To This :

define "act1" text .

define "act2" text .

define "act3" text .

define "act4" text .

      act1 := wizDocumentClose ("MatDisplayForm") .

         act2 := wizDocumentClose ("MaterialByCompany") .

              act3 := ClearSelectionFilter () .

                 act4 := DocumentClose () .

        end

Or Change any of the OML in that form then save, you get the dreaded “Exiting Due To” message attached, you are no longer able to open the form or even delete it, the form is defined over a table and the table is thankfully not effected , just the form.

Same thing if you add a new button with any type of OML option.

But if you add a new button and Action that button with SetGlobal (101,NameOfFiled) + OpenProcedure (Name) all works as it should.

Basically I’m having issues with the OML’s in that form only, do I have to create a longwinded new form or is there an option to reorganize a form that will also sort out the OML side of things, not using the standard form reorganize method as I have tried this ?  

Thankfully I was in a test copy not the live version....


Written by Handles 08/11/23 at 23:09:02 LegEasy 6 Windows

Re:OML Issues

This is still in DE6 isn't it?

Nothing that can be done I'm afraid. But beware that if you add objects in front of old objects you can "jumble" the object order.

LE6 is basically "as is" to run in WIndows x64 but there is not development done to features or functions.


Written by DataEase 14/11/23 at 14:46:15 LegEasy 6 Windows

Re:Re:OML Issues

Hi there , yes still DE6 I’m afraid and thanks for the heads up – I think I found the issue today, it seems that when I added the picture field that you wrote the derivation for ,the picture filed was cross referencing against the field that the OML detail was located, and it just did not like it.

Once I removed the details above from that field and added elsewhere in the form it all started working again, these things seem to be sent to test us.

Thanks for coming back to me, once I have sorted out the record save in DE9 I can hopefully purchase a full copy as long as every else works OK when converting.  


Written by Handles 14/11/23 at 15:32:22 LegEasy 6 Windows
DG3_ForumList