Hi out there,
i do have a problem and hope that some of you out there might help me. I am not good at coding VBA thats why i do not know how to solve.
Problem:
i do have a from for material issue. I want to check out if there is enough material in store to fit that issue. So i do have a tB to enter. After you entered the number, i want acess to look up if there is enough material. I wrote a query for the current stock and want to enter that query as validation rule for the Tb. The problem is that the query onlny works when i have an issue for that spesific material, caused on my DB design. I want to implement an if claus, that he only runs the query, subtracts the issue and check if there is already an issue in, if not i want him to run a different query, with checks different. it should be something like that
if(issue=0)
if(query1-issue)=<0 then ... (display not valid)
else
execute
else
if
query 2-issue<0 then display...
else
execute..
sounds difficult to understand, i hope u get what i mean
thanks in advance
Traden
i do have a problem and hope that some of you out there might help me. I am not good at coding VBA thats why i do not know how to solve.
Problem:
i do have a from for material issue. I want to check out if there is enough material in store to fit that issue. So i do have a tB to enter. After you entered the number, i want acess to look up if there is enough material. I wrote a query for the current stock and want to enter that query as validation rule for the Tb. The problem is that the query onlny works when i have an issue for that spesific material, caused on my DB design. I want to implement an if claus, that he only runs the query, subtracts the issue and check if there is already an issue in, if not i want him to run a different query, with checks different. it should be something like that
if(issue=0)
if(query1-issue)=<0 then ... (display not valid)
else
execute
else
if
query 2-issue<0 then display...
else
execute..
sounds difficult to understand, i hope u get what i mean
thanks in advance
Traden
