Hi,
I have a table with a couple of variables. The table is structured as follows:
The only thing that'll change here is me occassinally changing 'R04' and '1920' to some other values. I want to be able to change it in one place and it'll be reflected in the relevant queries.
I'd like to acces those two values in my queries. I've added the table to my design query window but cannot think of a way of adding the values. The values ('R04' and '1920') will be the same for all records across the board.
Actually, in the expression builder, I'm thinking of doing some conditional statement:
if (Period is blank), Period, do_nothing)
Essentially, I want to know which records were added in queries for let's say Period: R04. Then if there are new records in a query, they will be identified as R05 next month, etc.
Hope it makes sense.
I have a table with a couple of variables. The table is structured as follows:
Code:
Period | YearCode |
-------------------------
R04 | 1920
The only thing that'll change here is me occassinally changing 'R04' and '1920' to some other values. I want to be able to change it in one place and it'll be reflected in the relevant queries.
I'd like to acces those two values in my queries. I've added the table to my design query window but cannot think of a way of adding the values. The values ('R04' and '1920') will be the same for all records across the board.
Actually, in the expression builder, I'm thinking of doing some conditional statement:
if (Period is blank), Period, do_nothing)
Essentially, I want to know which records were added in queries for let's say Period: R04. Then if there are new records in a query, they will be identified as R05 next month, etc.
Hope it makes sense.