K
krzysztof via AccessMonster.com
Good Day!
I have a form that has a list box with multiple columns, and obviously,
multiple rows. i want to have the user double click a row, and open a form
that corresponds with the item selected. now, the double -click operation is
fine, and my form is fine, yet i keep getting error messages when i try to do
the operation. i am probably not identifying the right column, since that is
the value i want to pass.
my code is this:
Dim stFrmName As String
Dim stLinkCriteria As String
stFrmName = "frm_TempWO"
stLinkCriteria = "[TempWorkOrdID]=" & "'" & Me.UAList.Column(1) & "'"
DoCmd.OpenForm stFrmName, acNormal, , stLinkCriteria, , acWindowNormal
very much TIA
~k
I have a form that has a list box with multiple columns, and obviously,
multiple rows. i want to have the user double click a row, and open a form
that corresponds with the item selected. now, the double -click operation is
fine, and my form is fine, yet i keep getting error messages when i try to do
the operation. i am probably not identifying the right column, since that is
the value i want to pass.
my code is this:
Dim stFrmName As String
Dim stLinkCriteria As String
stFrmName = "frm_TempWO"
stLinkCriteria = "[TempWorkOrdID]=" & "'" & Me.UAList.Column(1) & "'"
DoCmd.OpenForm stFrmName, acNormal, , stLinkCriteria, , acWindowNormal
very much TIA
~k