I have a subform (frm_SUB) within a form (frm_MAIN). On my main form I have a field ([Count])that requires the user to enter a number. (frm_SUB) and (frm_MAIN) are linked by a common ID.
What I want to happen is for the subform (set up in data sheet view) to generate, automatically, the number of records according to the number entered in [Count]. There will be other fields within the subform that the user has to fill in.
Ex.
(frm_MAIN)
ID = XYZ; [Count] = 3
(frm_SUB)-autopopulate-
ID QUANTITY SIZE WEIGHT
XYZ 1 -entered by user-
XYZ 2 -entered by user-
XYZ 3 -entered by user-
I am doing this to ensure that the user can only enter the number of fields specified by the [Count] field on the main form.
Any suggestions? Does that make sence? Thanks a bundle!
What I want to happen is for the subform (set up in data sheet view) to generate, automatically, the number of records according to the number entered in [Count]. There will be other fields within the subform that the user has to fill in.
Ex.
(frm_MAIN)
ID = XYZ; [Count] = 3
(frm_SUB)-autopopulate-
ID QUANTITY SIZE WEIGHT
XYZ 1 -entered by user-
XYZ 2 -entered by user-
XYZ 3 -entered by user-
I am doing this to ensure that the user can only enter the number of fields specified by the [Count] field on the main form.
Any suggestions? Does that make sence? Thanks a bundle!