G
Guest
Hi Everyone
Can someone help me with the following problem:
SQLValid = "Select * from [Item Master] where [part #] = " & _
"'" & [Forms]![Actual Stocktake]![YPROD] & _
"' And [valid or invalid]= 'v'"
The stated query works well, but what I am trying to do is insert a certain
criteria relating to quantity limits. In the same Item Master table, I have a
column called QLIMIT. This column includes a quantity limit for each part.
E.G. Part 1234 has a QLIMIT of 5. This means that only 5 of this part can
exist.
When I scan more than 5 parts, I want Access to produce a warning telling me
that I have exceeded the QLIMIT. Is this possible.
Your help would be greatly appreciated.
Cheers
Jack
Can someone help me with the following problem:
SQLValid = "Select * from [Item Master] where [part #] = " & _
"'" & [Forms]![Actual Stocktake]![YPROD] & _
"' And [valid or invalid]= 'v'"
The stated query works well, but what I am trying to do is insert a certain
criteria relating to quantity limits. In the same Item Master table, I have a
column called QLIMIT. This column includes a quantity limit for each part.
E.G. Part 1234 has a QLIMIT of 5. This means that only 5 of this part can
exist.
When I scan more than 5 parts, I want Access to produce a warning telling me
that I have exceeded the QLIMIT. Is this possible.
Your help would be greatly appreciated.
Cheers
Jack