Page 1 of 1

Updating Form Properties

Posted: Fri Aug 07, 2009 2:20 pm
by ConvertFromOldNGs
by Joseph O'Dwyer >> Tue, 19 Oct 1999 4:24:04 GMT

I am trying to write a program to update a user defined property on a form in a different schema which is not a subschema or superschema. I have managed to get the list of the forms (the type of which is a GUIClass) in the schema but am unable to get a handle on the persistent copy of the form from the GUIClass.

Can anyone give me any ideas or let me know if this is not possible in JADE.

Thanks

Joseph

Re: Updating Form Properties

Posted: Fri Aug 07, 2009 2:20 pm
by ConvertFromOldNGs
by Torrie Moore >> Tue, 19 Oct 1999 20:17:10 GMT

Joseph

Once you have got the schema the schema class has the folling methods that allow you to get at forms

FindForm for Locale // This find a form for the specified locale. FindMeForm // This finds a form for the base locale.

For example the next line of code writes the name of a form called FMSheets in the last schema created.

write Schema.lastInstance.findMeForm('FmSheets').name;

Hope this helps

Torrie Moore