P
Pwyd
okay. so if this refers to a listbox on a form [Forms]![Batch Status
Page]![List94]
what references the value in the first column of any row on that listbox's
displayed results?
When i try to use that as a source for some code:
Dim strCriteria As String
strCriteria = DLookup("[Batch Number]", "[StatusQueryOne]", "[Batch
Number] = [Forms]![Batch Status Page]![List94]![Value]")
' DoCmd.OpenForm "Earliest Date in Batch", , , strCriteria
MsgBox (strCriteria)
its popping up the position within query, or the first row, depending on
which lookup i use. What i'm really after is the value that is being
displayed in the first column, which happens to be the batch number.
Thanks
Page]![List94]
what references the value in the first column of any row on that listbox's
displayed results?
When i try to use that as a source for some code:
Dim strCriteria As String
strCriteria = DLookup("[Batch Number]", "[StatusQueryOne]", "[Batch
Number] = [Forms]![Batch Status Page]![List94]![Value]")
' DoCmd.OpenForm "Earliest Date in Batch", , , strCriteria
MsgBox (strCriteria)
its popping up the position within query, or the first row, depending on
which lookup i use. What i'm really after is the value that is being
displayed in the first column, which happens to be the batch number.
Thanks