Using a Chronus purchase invoices:
I'm interested in modifying the "Incoming Document Files" textbox.
When I select a file, I want to display it into another factbox, so my first step is trying to read the record that I've selected.
In this case, I've selected the file PLIMON_TSK0007. So if I click on the file PLIMON_TSK0008 it will change and the selected file it will be the PLIMON_TSK0008:
How can I use that event? Or how can I get the record when I select a new row?
I'm trying with this code:
pageextension 51101 "IncomingDoc.Attach.FactBoxExt" extends "Incoming Doc. Attach. FactBox"//193
{
trigger OnAfterGetRecord()
begin
end;
trigger OnAfterGetCurrRecord()
begin
end;
}
But it will break the factbox, when I select a new row it disappears:
That's how it looks when loading that code and selecting TSK0008...