Hi
i am creating a dialog class and i need to iterate over data of one view.
how it can be done without creating query of that view.
Thanks in advance for help
Hi
i am creating a dialog class and i need to iterate over data of one view.
how it can be done without creating query of that view.
Thanks in advance for help
Thank you Sergei for help.
Hi villwd1,
Depends on the framework you would like to use (RunBase or SysOperation) there are different approaches?
For RunBase you can check class Tutorial_RunbaseForm as example
For SysOperation framework you can check article robscode.onl/.../
No i don't want to iterate by creating Query of view in AOT.
i want to use view directly as query so that i can use
while(queryRun.next())
{
}
to iterate in and perform some operation on related table of view
Hi villwd1,
If you mean how to iterate over data in run method without creating a query object, it similar to tables: declare view variable and use while select
MyView myView; while select myView { info(myView.MyField); }
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,401
Most Valuable Professional
nmaenpaa
101,156