Hi,
I have part of my code that looks like this:
oldstkdate = DMin("date", "qrygdsout")
oldstkarea = DLookup("[areaID]", "qrygdsout", "[date] = #" & qrygdsout & "#")
Where qrygdsout is a query with two citeria based on the values text boxes in the current form. Now, when I run the code it...