Thanks for your video. Now I don't know the full context in case of your Toolbox, but wouldn't something like below make (almost) infinite recrefs possible? local procedure Example() var Customer: Record Customer; RecRef: RecordRef; RecIDList: List of [RecordId]; RecID: RecordId; begin if Customer.findset then repeat RecIDList.Add(Customer.RecordId); until Customer.Next() = 0; foreach RecID in RecIDList do RecRef.Get(RecID) end;
Temp table array is pretty cool
Great video as usual, thank you. This feature is from C/SIDE environment, isn´t it?
Thanks, Erik
Thanks for your video. Now I don't know the full context in case of your Toolbox, but wouldn't something like below make (almost) infinite recrefs possible?
local procedure Example()
var
Customer: Record Customer;
RecRef: RecordRef;
RecIDList: List of [RecordId];
RecID: RecordId;
begin
if Customer.findset then
repeat
RecIDList.Add(Customer.RecordId);
until Customer.Next() = 0;
foreach RecID in RecIDList do
RecRef.Get(RecID)
end;
No, because a recordid doesn't hold filters or a set..
@@Hougaard in BC25 you have a possibility to use List of [Codeunit] that could have RecRef as global :)