G
Guest
Hi Everyone,
For this application that I am working on, I am using the query below, to
determine when I have reached a quantity limit. E.g. Part 1234 has a QLIMIT
of 5. When I scan the 6th part, I should recieve a warning stating that I
have exceeded the QLIMIT amount.
The problem with this statement is that there is a different QLIMIT for each
part, therefore I cannot use a specific number for [QLIMIT] = .
Is there someway I can modify this statement so that it detects what the
QLIMIT is for each part. The QLIMIT column is in the item master table.
SQLValid = "Select * from [Item Master] where [part #] = " & _
"'" & [Forms]![Actual Stocktake]![YPROD] & _
"' And [QLIMIT]= ?
Thanks
For this application that I am working on, I am using the query below, to
determine when I have reached a quantity limit. E.g. Part 1234 has a QLIMIT
of 5. When I scan the 6th part, I should recieve a warning stating that I
have exceeded the QLIMIT amount.
The problem with this statement is that there is a different QLIMIT for each
part, therefore I cannot use a specific number for [QLIMIT] = .
Is there someway I can modify this statement so that it detects what the
QLIMIT is for each part. The QLIMIT column is in the item master table.
SQLValid = "Select * from [Item Master] where [part #] = " & _
"'" & [Forms]![Actual Stocktake]![YPROD] & _
"' And [QLIMIT]= ?
Thanks