General information
Category:
The Mere Mortals Framework
>On page 121 of the Dev Guide, under the heading of "Manually Requerying Business Objects", it says taht you can "requery the Business object when the page is activated and the record pointer in the parent business object has moved since the last time the page was activated", but there is no example of how to do this.
>
>Does the BizObj method GetFilePos return the record pointer? If so, then in the page activate, I could compare the current record pointer with the one from last time and go from there.
>
>Is there a method or property or something that returns the number of records in the view?
Right click on your business object and select Builder. This should give you the Mere Mortals Business Object Builder. Learn to love it. :) On the Properties tab, you can set the requery type for the business object, and the third option (Requery if first time activated after last form activate) sounds like what you want.
Business objects have an lNoRecords property you can check, but I can't think of one off the top of my head that will give the number. (Anybody else?) I usually just SelectAlias() the view and count.
Chris.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only