OML Issues
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 Im having issues with the OMLs 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....
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.
Hi there , yes still DE6 Im 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.