is there any function instead of Dlookup to fast my database? here is my code:
Me.txtMacroDispTest1.Value = DLookup("[TestNo]", "tblmetallurgy8", _
"[FirstArticleNumber] = '" & Me.txtFirstArticlenumber & "' and [TestNoID] = 1")
I want to display the value for the textbox from the table field [TestNo], condition to satisfy is based on number [ ie: FirstArticleNumber] and other field value will 1 [ie: TestNoID]
can anyone help me to speedup the code ?