IT WORKS!
Found out that I had the column of table2 formatted as text eventhough it looked otherwise as I populated already with numbers. Guess a standard beginners mistake.
Thanks you guys. made my life a lot easier today and got at least something done for a change :)
After I finished this...
Thanks again,
PHV: I tried your method but got an "#Error" in the access table under Process1. (When I changed the Table2.Y to a value it worked, but this is not what I wanted).
Dhookom: As I just started with Access and sql last weekend so I have a hard understanding your code recommendation...
Thanks for the above replies.
What is the difference between the "switch" and "IIF" function? I updated the function but still have trouble with the following: Why is the [table2.Y] not accepted in the IIF function as shown below:
SELECT
Table1.ton,
Table1.X,
Table2.Y...
Dear Reader,
Hopefully somebody can help me with the following"
(Apologies already in advance for the poor explanation of the problem due to the fact that I am still pretty unfamiliar with the access/sql terminology.)
part of my script: (tonnes and X are already assigned)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.