There's not a function that will do this. You can do it fairly fast yourself. You could use a SQL Select. Something like this:
m.AcctNo=tablea.AcctNo
SELECT CNT(AcctNo) AS ChildCount ;
FROM tableb
WHERE tableb.AcctNo=m.AcctNo ;
INTO CURSOR temp
m.ChildCount=temp.ChildCount
>I have two tables with a relation based upon an account #
>table a
>table b
>use table a order 0 (sintax is diff)
>set realtion on acct# into table b
>
>question: Is there a function that will tell me the number of records
>found in the child table and also if it is one or more than one append
>a code accordingly (aie. 1=m1 on child table, 2=m2 for each record on the child table)