Newbies mrfox Posted December 26, 2004 Newbies Posted December 26, 2004 I do a "Go to related records" on FILE1 (which is a copy of FILE), with relation ContoDB = gConto. Function "GetFoundCound" returns, let's say, 3, which is correct. Now I do a second "Go to related records" on FILE2 (which is also a copy of FILE), with relation ContoCR = gConto. GetFoundCount returns 3, which is false : there are no occurences with this relation in the DB ! What's wrong
Søren Dyhr Posted December 26, 2004 Posted December 26, 2004 Get(FoundCount) will always tell you the found set of the table the cursor at present reside in! To measure the number a relation can yield do you need to make a Count( over the relation, while the GTRR(SO) doesn't get anywhere if the occurence of related records is zero!! --sd
Recommended Posts
This topic is 7329 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now