A
Amit
Hi,
I have a form to enter Project information for a Program.
A Program can have other Programs as partners on a
Project. The Program (actually Program ID) is selected
using an unbound combo box, based on a query that gets the
Program names and ID.
I have a subform to select other Program partners. I would
like to display all programs EXCEPT the current Program
for which the information is being entered. I have an
unbound combo box, with the following code in its 'Row
Source':
SELECT [qlkpProgram].[ProgramID], [qlkpProgram].
[ProgramName] FROM qlkpProgram WHERE [qlkpProgram].
[ProgramID]<> Me!ProgramID;
This is not working. When I open the form, I get a box
that asks me to enter a value for 'Me!ProgramID'.
Any help on how to solve this problem will be appreciated.
Thanks!
-Amit
I have a form to enter Project information for a Program.
A Program can have other Programs as partners on a
Project. The Program (actually Program ID) is selected
using an unbound combo box, based on a query that gets the
Program names and ID.
I have a subform to select other Program partners. I would
like to display all programs EXCEPT the current Program
for which the information is being entered. I have an
unbound combo box, with the following code in its 'Row
Source':
SELECT [qlkpProgram].[ProgramID], [qlkpProgram].
[ProgramName] FROM qlkpProgram WHERE [qlkpProgram].
[ProgramID]<> Me!ProgramID;
This is not working. When I open the form, I get a box
that asks me to enter a value for 'Me!ProgramID'.
Any help on how to solve this problem will be appreciated.
Thanks!
-Amit