D
DS
After much help and pain I finally got my Linked to work...the minute I
go to expand from the simple model into something more complex the thing
doesn't work....Perhaps I'm too deep into the forrest to see the trees!
Can anyone see why this SQL statement isn't working. If I take out
the WHERE statement it works. So my guess is that it's somewhere in there.
Any help is appreciated.
Thanks
DS
Private Sub List18_AfterUpdate()
With Me.List4
.RowSource = _
"SELECT [Menu Cat],[Major Cat],[Item Name]" & _
"FROM Items" & _
"WHERE [Menu Cat] = " & Me.List18.Column(0) & "" & _
"AND [Major Cat] = " & Me.List18.Column(1) & ""
Me.List4.Requery
End With
End Sub
go to expand from the simple model into something more complex the thing
doesn't work....Perhaps I'm too deep into the forrest to see the trees!
Can anyone see why this SQL statement isn't working. If I take out
the WHERE statement it works. So my guess is that it's somewhere in there.
Any help is appreciated.
Thanks
DS
Private Sub List18_AfterUpdate()
With Me.List4
.RowSource = _
"SELECT [Menu Cat],[Major Cat],[Item Name]" & _
"FROM Items" & _
"WHERE [Menu Cat] = " & Me.List18.Column(0) & "" & _
"AND [Major Cat] = " & Me.List18.Column(1) & ""
Me.List4.Requery
End With
End Sub