Al,
Thanks for taking the time to help me work through this one...
Form Name = HEDIS07MainForm
List1 Name = Provider_Practice_Location_ListBox
SQL in Provider_Practice_Location_ListBox = SELECT
Provider_Practice_Location_Name.PRVDR_FRWRD_ID,
Provider_Practice_Location_Name.GROUP_PRCTC_LCTN_NM,
Provider_Practice_Location_Name.TAX_ID FROM
Provider_Practice_Location_Name
ORDER BY Provider_Practice_Location_Name.GROUP_PRCTC_LCTN_NM;
Bound Column Is Set To : 1 (PRVDR_FRWRD_ID)
List2 Name = second_list_box
SQL In second_list_box = SELECT [AQITST1_mbr Query].PRVDR_FRWRD_ID,
[AQITST1_mbr Query].MBR_UNECRYPTD_LAST_NM, [AQITST1_mbr
Query].MBR_UNECRYPTD_FIRST_NM, [AQITST1_mbr Query].MBR_UNECRYPTD_FRWRD_ID
FROM [AQITST1_mbr Query] WHERE ((([AQITST1_mbr
Query].PRVDR_FRWRD_ID)=Forms!HEDIS07MainForm!Provider_Practice_Location_ListBox));
Bound Column is set to 1 (PRVDR_FRWRD_ID)
There is no code in the VB procedures, it is all in the Properties window.
The above config works, it just prompts me for the value of the
PRVDR_FRWRD_ID, one I enter the value it returns the correct rows. So it
knows it is a parm value but must not have 'the value' to resolve.
Thanks again..
Jay
Al Camp said:
JE,
What is the exact name of your form?
What is the exact name of Listbox1?
What is the exact criteria you're using against ProductID in the List2
query ?
JE, when you have coding problems, it's advisable to include the
code...
like the criteria you've tried so far.
In your ProductID criteria, you don't use the name ProductID as a
criteria, you use the name of the listbox (list1) that contains the
ProductID on your form.
= Forms!frmYourFormName!List1
List1 should contain the ProductID you've selected... make sure you
have
the proper column bound to the control!
We'll get it... hang in there.
--
hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions