enter parameter value

joeblow2

Registered User.
Local time
Today, 03:45
Joined
Jun 28, 2008
Messages
39
Hi:
My setup is as follows:

I have a Main form which has a listbox (List33) from which I (on selection of an item) want to populate another listbox (List11) on a sub-form of a sub-form of the main form.
My code on the main form is:

Private Sub List33_AfterUpdate()
Dim stDocName As String
stDocName = "Query2"
Me![sub Participant_line].Form![sub Response].Form!List11.RowSource = stDocName

End Sub

and my query(Query2) has a "which" part of the sql as:

[Me].[Parent].[Parent]![List33]![Column(0)]

However, When I click the item in Listbox, List33, I keep getting the "Enter Parameter Value" Message box popping up.How please can I fix the problem.
Thanks in advance.
 
[Me].[Parent].[Parent]![List33]![Column(0)]
Why are you using parent twice
 
take a look here. I believe your syntax is a little messed
 

Users who are viewing this thread

Back
Top Bottom