Hi
Hope someone can help since I have got an error in my code. I know it lies in the middle part around Me.cboSupplier since when I break and hover over all the other bits they give me the right values but when I hover over Me.cboSupplier I get zilch.
The line of code is
I suspect I could go on trying variations for ever and really got to here by finding it put both "and"s in blue and did not put the whole line in red, so something must be right, but not what I am wanting!!
Any help would be most appreciated
Best wishes
Hope someone can help since I have got an error in my code. I know it lies in the middle part around Me.cboSupplier since when I break and hover over all the other bits they give me the right values but when I hover over Me.cboSupplier I get zilch.
The line of code is
Code:
lngQuote = DLookup("lngQuId", "tblQuotes", "[lngQuMonth] =" & Me.txtMonthID And [lngQuSup] = " & Me.cboSupplier & " And "[lngQuDrug] =" & Me.cboDrug & "")
Any help would be most appreciated
Best wishes