Hi Bram,
Ok, getting clearer.
So you have a window (a NetWebForm I presume?) , and it has 2 browses.
the one is a child of the other?
You want to limit the number of records in the child browse, depending on the number stored in the parent browse record.
Ok, so the child browse presumably has a filter of some description, limiting it to the parent browse.
Actually, the answer is the same, even if the setup is different.
The short answer is yes, you can use the condition on the "Form" tab, next to the "Insert" checkbox.
Let's say you set this condition to loc:something
then all you need to do is prime loc:something appropriately.
You've got the Session Value, of the parent file's ID field (presumably you're using this in the filter). So to get the "numbers allowed" value you'd need to
Open
Get
loc:something = whatever
Close
Cheers
Bruce