S
sword856
I have a form with a subform. The main form is for Jobs, and the
subform lists the crew for each job. Each crew position has a number
assigned to it, lowest being the highest "rank" in the crew. The name
and postions of each crew member are selected by unbound combo boxes
that list all personnel names and all possible positions. The
position combo box has two columns, one with position title and the
other with position number. The position number is column is hidden,
since that field is only used on my side and not the user's. The
bound PositionNumber box is hidden for this same reason. It is filled
in on the AfterUpdate event with the associated position number once
the user picks a position.
I also have an "Add New" button on the subform to jump the
selector to a new record on the subform (rec. navigators are
disabled). The subform is in continuous view so the user can scroll
through the crew at a glance.
1.) I need to order the records in the subform in ascending
PositionNumber order so that the crew leader is on top and so forth.
2.) When I press the Add New button, I would like the subform to
show the new record fields. As of right now, if there are too many
crew members for the subform space, the user would have to scroll down
to the new entry. Though it seems like a small thing, it could be
frustrating to someone not familiar with the form. I would like the
add new button to shift the view in the subform to the new record
fields. Maybe a command to scroll to the bottom of the list or some
such.
Any help on these would be greatly appreciated.
Thanks,
George
subform lists the crew for each job. Each crew position has a number
assigned to it, lowest being the highest "rank" in the crew. The name
and postions of each crew member are selected by unbound combo boxes
that list all personnel names and all possible positions. The
position combo box has two columns, one with position title and the
other with position number. The position number is column is hidden,
since that field is only used on my side and not the user's. The
bound PositionNumber box is hidden for this same reason. It is filled
in on the AfterUpdate event with the associated position number once
the user picks a position.
I also have an "Add New" button on the subform to jump the
selector to a new record on the subform (rec. navigators are
disabled). The subform is in continuous view so the user can scroll
through the crew at a glance.
1.) I need to order the records in the subform in ascending
PositionNumber order so that the crew leader is on top and so forth.
2.) When I press the Add New button, I would like the subform to
show the new record fields. As of right now, if there are too many
crew members for the subform space, the user would have to scroll down
to the new entry. Though it seems like a small thing, it could be
frustrating to someone not familiar with the form. I would like the
add new button to shift the view in the subform to the new record
fields. Maybe a command to scroll to the bottom of the list or some
such.
Any help on these would be greatly appreciated.
Thanks,
George