main logo
Subject: Re: Programmatically Move Record Pointer
Author: James Sayer
Posted: 2001/07/26 11:35:49
 
View Entire Thread
New Search


<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.
James Sayer
 
©2001 James Sayer
<-- Prior Message New Search Next Message -->