T
Tknows
i'm trying to generate a combo box list based on the selection of another
combo box. I aslo need to requery the second combo box once a selection is
made in the first combo box.
the select query in the row source of the second combo box is the following:
[Form]![SelectPicture]![cboPicYear (1)]
This appears as a parameter in form view.
The SQL seems correct:
SELECT Picture.PictureId, Picture.PictureDescription, Picture.Location,
Picture.members, Picture.PositionDescription
FROM Picture
WHERE (((Picture.PicYear)=form![SelectPicture]![cboPicYear]))
ORDER BY Picture.PictureDescription;
Please note teh cboPicYear has two columns one for the ID and the other for
the picture year. The picture year is the value that is displayed in the
combo box.
combo box. I aslo need to requery the second combo box once a selection is
made in the first combo box.
the select query in the row source of the second combo box is the following:
[Form]![SelectPicture]![cboPicYear (1)]
This appears as a parameter in form view.
The SQL seems correct:
SELECT Picture.PictureId, Picture.PictureDescription, Picture.Location,
Picture.members, Picture.PositionDescription
FROM Picture
WHERE (((Picture.PicYear)=form![SelectPicture]![cboPicYear]))
ORDER BY Picture.PictureDescription;
Please note teh cboPicYear has two columns one for the ID and the other for
the picture year. The picture year is the value that is displayed in the
combo box.