main logo
Subject: Re: requery()
Author: Ed Leafe
Posted: 2001/04/18 11:59:27
 
View Entire Thread
New Search


<i><font color="#663300">I am having problems referencing a child bizobj.
I want to be able to requery a child view thus:
lnretval = requery( thisform.obizobj.calias )
llretval = ( lnretval = FILE_OK )
if llretval
** requery the children here
endif

I am unable to reference the child calias
I have tried:
for lncount = 1 to thisform.obizobj.nchildcount
endfor

but can't get am actual reference to the child view. It is easy from the bizobj - my problem appears to be getting from the form reference to the bizobj reference.</font></i>

I have to ask: why are your form objects referencing direct data actions? Why not just call <b>Thisform.Requery()</b>, and let the framework do the hard stuff for you?
<font color="#cc0000"> ___/
/
__/
/
____/</font>
Ed Leafe
 
©2001 Ed Leafe
<-- Prior Message New Search Next Message -->