Tried the IIF way of doing it today, had too many statements for it to run (came up saying it ws too complex). So back to square 1.
Starting over again. Right current set of tables i have are:
QUESTIONNAIRES
ID.......TITLE........QUES 1..........QUES 2
na01....Admin...........2..................4
SCHEME 1 (this is set up i the same way as a Vlookup array in excel)
SCORE...........LEVEL
150...................5
151...................5
152...................5
...
199...................5
200..................10
201..................10
And so on, the score field goes up to 1000, and there are a total of 14 levels within that scale. so 200 points would be level 5, between 200 and 250 = level 6 etc.
these 2 tables are not linked, the link is created through the query below.
QUESTIONNAIRES QUERY
ID.......title......Q1.........Q1 Score....Q2.....Q2Score....points....Scheme
na01...Admi......3..............62...........6........165...........227......
the Q1 and Q2 score fields are created via calculations within the query, as is the Points field adding all the score fields.
What i am trying to do is where there is a correlation between the POINTS field in the query and the SCORE field in the SCHEME 1 table it will return the value in the LEVEL field from SCHEME 1 and place it into the SCHEME field in the query.
Hopefully this makes more sense for you guys. Am i on the right track with this logic, or am i trying to do things the long way around?
on a side note, is there a way to copy the points total from the query into a points field on the QUESTIONNAIRES Table, if so would it be easier to copy it over and then link it to the scheme table (using the score as the ID, in a simple lookup)?