G'dayI've just spent a considerable amount of time debugging a form that wasn't working. I finally tracked it down to the following code:
If Me.BoGRS1.MoveFirst Then
Do Me.BoGRS1.GRSNew = False Me.BoGRS1.Save()
Loop
While Me.BoGRS1.MoveNextEnd If
This just loops continuously. Once I found it, I very easily fixed it as follows:
If Me.BoGRS1.MoveFirst Then
Do Me.BoGRS1.GRSNew = False Loop While Me.BoGRS1.MoveNext Me.BoGRS1.Save()
End
If
This is much better anyway, and I've checked our codebase to ensure there were no other instances of the former method.
The reason I'm raising this is that this form had been working (although I'm unsure how recently), the code had been as I found it at least since the start of November 2007 (I haven't checked back any further), and the code would have been executed every time the form was used. The only change that I can relate it to is an update to VS2008 and SF 1.6.5. I'm wondering if this is a deliberate change in behaviour of Save(), an accidental change in behaviour, or behaviour that was always expected and my code used to work by some strage quirk of fate.
I thought you might be interested.
Peter