tag:blogger.com,1999:blog-3452382026907318606.post8318506786108276844..comments2024-01-25T18:44:51.889+05:30Comments on Ishwar's Blogspot: Common mistakes we make in C/AL - Vol. 1 - Tips, Tricks & Facts #6Ishwar Sharmahttp://www.blogger.com/profile/00772745065580372006noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-3452382026907318606.post-54643126993111284792016-12-04T06:13:30.918+05:302016-12-04T06:13:30.918+05:30Updated the post again after seeing this awesome s...Updated the post again after seeing this awesome session by Waldo, Vjeko and Gary Winters in NAVTechDays 2016. Check the full session here - https://www.youtube.com/watch?v=R28hrfg2MA4<br /><br />The session is very helpful! A must watch for every AL developer.Ishwar Sharmahttps://www.blogger.com/profile/00772745065580372006noreply@blogger.comtag:blogger.com,1999:blog-3452382026907318606.post-66413791440403048332016-11-22T22:24:03.488+05:302016-11-22T22:24:03.488+05:30Updated the post! Thanks again +Stavros :)Updated the post! Thanks again +Stavros :)Ishwar Sharmahttps://www.blogger.com/profile/00772745065580372006noreply@blogger.comtag:blogger.com,1999:blog-3452382026907318606.post-28217242622973482332016-11-22T22:13:59.048+05:302016-11-22T22:13:59.048+05:30Thanks +Stavros for your comment. I agree with you...Thanks +Stavros for your comment. I agree with you and thanks for the link. In this MSDN link it is mentioned in remarks that, <br /><br />" You should only use FINDFIRST function when you explicitly want to find the first record in a table or set. Do not use this function in combination with REPEAT.. UNTIL. "<br /><br />I will update this in my post.Ishwar Sharmahttps://www.blogger.com/profile/00772745065580372006noreply@blogger.comtag:blogger.com,1999:blog-3452382026907318606.post-29815344274930238242016-11-22T03:42:48.695+05:302016-11-22T03:42:48.695+05:30FINDFIRST should not be used in combination with R...FINDFIRST should not be used in combination with REPEAT..UNTIL. See Remarks section: https://msdn.microsoft.com/en-us/library/dd338835(v=nav.90).aspx ;)Stavros Amanatidishttps://www.blogger.com/profile/07523507414471677584noreply@blogger.comtag:blogger.com,1999:blog-3452382026907318606.post-16495861726390440802016-11-21T01:58:45.283+05:302016-11-21T01:58:45.283+05:30Updated the post! Thanks again Mark :)Updated the post! Thanks again Mark :)Ishwar Sharmahttps://www.blogger.com/profile/00772745065580372006noreply@blogger.comtag:blogger.com,1999:blog-3452382026907318606.post-55141298968314849392016-11-21T01:39:32.915+05:302016-11-21T01:39:32.915+05:30Although, I do have a question.
The syntax of both...Although, I do have a question.<br />The syntax of both are same. I have written examples below,<br /><br />IF FINDSET THEN<br />REPEAT <br />...<br />UNTIL NEXT = 0;<br /><br /><br />IF FINDFIRST THEN<br />REPEAT <br />...<br />UNTIL NEXT = 0;<br /><br />My ques is, What is the one extra statement?Ishwar Sharmahttps://www.blogger.com/profile/00772745065580372006noreply@blogger.comtag:blogger.com,1999:blog-3452382026907318606.post-27364943739724623482016-11-21T01:01:28.207+05:302016-11-21T01:01:28.207+05:30That is news for me. I never knew that "FINDF...That is news for me. I never knew that "FINDFIRST changes automatically in a FINDSET the minute AL finds the NEXT command." Thank you so much for updating our knowledge!<br /><br />There is so much left to learn. I will update this post soon! Thanks :)Ishwar Sharmahttps://www.blogger.com/profile/00772745065580372006noreply@blogger.comtag:blogger.com,1999:blog-3452382026907318606.post-81111384429090640942016-11-15T21:04:01.935+05:302016-11-15T21:04:01.935+05:30+Tharanga Thank you for your comment. Means a lot ...+Tharanga Thank you for your comment. Means a lot coming from you! :)Ishwar Sharmahttps://www.blogger.com/profile/00772745065580372006noreply@blogger.comtag:blogger.com,1999:blog-3452382026907318606.post-64968039335915242622016-11-15T17:37:43.237+05:302016-11-15T17:37:43.237+05:30Good Post. Keep them coming. Good Post. Keep them coming. Soul Whisperhttps://www.blogger.com/profile/01474211029817995499noreply@blogger.com