SetLoopPosition
Aldevinas Katkus
10-20-17
Just curious:
is the SetLoopPosition() safe? I mean, if someone deletes the record between calling SetLoopPosition() will it position on the right record, e.g.:
SetLoopPosition()
//someone deletes record here
SetLoopPosition()

Also I can see the below code


SetLoopPosition(CUr,RepSpec.long2);

CUr.Code = frcc;//is this really needed if we set the position already?
CUs = true;

while (LoopMain(CUr,1,CUs)) begin
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Piotr Wycichowski
Hi, Some incoiming external e-mails, like invitation for scheduled Zoom meeting, comes with special attachement .ics to create an event in calendars. When such e-mail is received by SERP mail syste...
15:43 12 Sep 2025
Piotr Wycichowski
Hi, I checked option "Use External Mail Software" in setting "Mail and Conferences Settings" in module "Mail and Conferences". When I create an invoice email I have a ...
17:38 8 Aug 2025