Thanks for you response. But could you let me know if there is a GOTO equivalent for the BizObj. Actually the original reason I wrote this question was that I want to locate a given PK of the BizObj in reqular FP terms:
SEEK (RoutineToGetPKExternally())
how do I related the same to code book adn do I have to refresh it later something like loBizObj.Refresh()
<i><font color="#663300"><i><font color="#663300">Is there a method to move the record programmatically or is it just GO (recno), THISFORM.refresh() (using iBizObj, iBizObjForm)
Regards Bhavbhuti </font></i>
Greetings Bhavbhuti,
Assuming that you are using the bizobj registry:
LOCAL loBizobj loBizobj= thisform.GetParentBizobj( 'myBizobj')
loBizobj.First() loBizobj.Next()
lcPk= loBizobj.GetParentKey() lcVal= loBizobj.GetFieldVal( 'thatField')
If the bizobj.cRegistryLabel property is populated ( 'myBizobj') then it will be registered automatically during creation. Enjoy.</font></i>
Regards Bhavbhuti ©2001 Bhavbhuti Nathwani |