I think I'm missing some very fundamental understanding here... how do I tell a procedure the parent caller... I assumed this was done automatically, but this code NEVER shows a parent:-
(taken from a standard server browse) - if I call the browse from a button on the 'update club' form, would I need to set the parent id somewhere?
If False ! add range fields to sort order
ElsIf (loc:Parent = 'UpdateClub')
If Instring('PLA:CLUBURN',upper(loc:vOrder),1,1) = 0
loc:vOrder = 'pla:ClubURN,' & loc:vorder
End
ElsIf (loc:Parent = 'UpdateTeamPlayer')
If Instring('PLA:CLUBURN',upper(loc:vOrder),1,1) = 0
loc:vOrder = 'pla:ClubURN,' & loc:vorder
End
End
! Start of "End of SetVorder routine"
! [Priority 5000]
stop(loc:parent)
! End of "End of SetVorder routine"
and while on the subject.. what is the point of the condition 'If False' ... I'm not really sure what this is testing... 'If 0', and does this return true or false?
Thanks
Bill