G
Gijs van Swaaij
Hey,
In my database, I have a data sheet in which the user gets to enter
certain numbers relating to questions. There are about 500 questions
from which they can choose, but they are divided into about 25 groups.
The datasheet already displays a combobox in which the user can select
a group. Now I would like to have a second combo box display only those
questions that are in the selected group. I have tried to set the
record source of that second combobox to the following, and it kind of
works in normal view (although it doesn't update it, but that's not
relevant). However, it doesn't work in Datasheet view.
SELECT [Vraag].[ID], [Vraag].[omschrijving] FROM Vraag WHERE
((([Vraag].[groepID])=[Forms].[kengetallen].[Vraaggroep])) ORDER BY
[Vraag].[volgorde];
(vraag=question and vraaggroep = question group, it's Dutch).
Does anyone have ideas on how I can make this work in datasheet view.
It's not really an option to let the user select from 500 question in
the combobox, and it isn't really an option to have the form display in
regular view either.
Thanks,
Gijs van Swaaij
In my database, I have a data sheet in which the user gets to enter
certain numbers relating to questions. There are about 500 questions
from which they can choose, but they are divided into about 25 groups.
The datasheet already displays a combobox in which the user can select
a group. Now I would like to have a second combo box display only those
questions that are in the selected group. I have tried to set the
record source of that second combobox to the following, and it kind of
works in normal view (although it doesn't update it, but that's not
relevant). However, it doesn't work in Datasheet view.
SELECT [Vraag].[ID], [Vraag].[omschrijving] FROM Vraag WHERE
((([Vraag].[groepID])=[Forms].[kengetallen].[Vraaggroep])) ORDER BY
[Vraag].[volgorde];
(vraag=question and vraaggroep = question group, it's Dutch).
Does anyone have ideas on how I can make this work in datasheet view.
It's not really an option to let the user select from 500 question in
the combobox, and it isn't really an option to have the form display in
regular view either.
Thanks,
Gijs van Swaaij