for i=1 to 10000 > oApp.oServiceObject.DoSomething() >endfor>which would fire the access method each time, we can do
loService=oApp.oServiceObject >for i=1 to 10000 > loService.DoSomething() >endforI do the same, but I prefer to add intellisense to the code like this:
LOCAL loService AS MyServiceClass OF Application_Services.VCX loService = oApp.oServiceObject for i = 1 to 10000 loService.DoSomething() endforThis helped me a lot to prevent typo's in the code.