Greetings Bhavbhuti,
As far as I know there is no SEEK() built into the bizobj or framework. I would be guessing since I was not part of the design team... but this is how I think it works. (1) The framework is based upon using views where the result sets are small(er). (2) The framework is also part training and is therefore left "for the student to complete."
Because the result sets are smaller the bizobj should be able to go into a loop and use the .Next() method to step through the record set. That is the basic provision of the framework. It is simple, clean and works like a lot of other object code.
You can create methods to find a record, but consider letting the bizobj pass that task down to the data behavior object. If the record is found, the bizobj can notify the ui to refresh. Because result sets are smaller, you probably will not have an index or only a pk index. Use LOCATE because it will use an index if available, and works without an index.
HTH James Sayer ©2001 James Sayer |