Hi guys,
We've designed a card page that includes
fields from another table. The client uses the page in editable-mode and likes going to the next/previous record using CTRL+PgDown/PgUp instead of returning to the list page and back to the card page.
On OnAfterGetRecord we control the editability of fields:
EditableBoolean := NOT RecordBoolean;
If RecordBoolean changes, EditableBoolean changes accordingly and this works with fields displaying data from Rec.
But, the editability of the fields from another table are not updated accordingly until F5 is
pressed.
I've tried adding currpage.update(false), toggle editability of the entire page on OnAfterGetRecord and WshShell.SendKeys('{F5}'); but with no luck.
Any suggestions how we can make this work?
Thanks,