Subform query

ian_ok

Registered User.
Local time
Today, 15:31
Joined
May 1, 2001
Messages
90
I've searched through previous subform questions, but not found what I want, so here goes.

I want to restict a subform to a certain number of entries depending on a number input:

mainpassenger wants 3 flight tickets, so then we have 2 entries required in subform for friendpassenger(s)

If you have any other suggestions then please feel free to inform me.

Thanks Ian
 
Use DCount to count how may records have been entered and when it reaches 1 less than the number entered pop up a message and turn off Allow Additions.
 

Users who are viewing this thread

Back
Top Bottom