Hello dear users and experts.
I wonder if the following is possible: I have a few HotelXDept fields in a table, all of them contain dept data by date:
Fields:
DDate
Hotel1Dept
Hotel2Dept
Hotel3Dept
Hotel4Dept
...
Now, I need to write a criteria that would use data from HotelXDept according to X data that is found in another field.
I create a new field:
How can I use HotelClone to use a value from an appropriate HotelXDept field for a calculation of an expression 1000 - dept?
I attempt this as an expression but it doesn't work:
1000-[&HotelXClone&]
Do you have any ideas? Please help.
Regards.
I wonder if the following is possible: I have a few HotelXDept fields in a table, all of them contain dept data by date:
Fields:
DDate
Hotel1Dept
Hotel2Dept
Hotel3Dept
Hotel4Dept
...
Now, I need to write a criteria that would use data from HotelXDept according to X data that is found in another field.
I create a new field:
Code:
SELECT "Hotel" & [X] & "Dept" AS HotelXClone
How can I use HotelClone to use a value from an appropriate HotelXDept field for a calculation of an expression 1000 - dept?
I attempt this as an expression but it doesn't work:
1000-[&HotelXClone&]
Do you have any ideas? Please help.
Regards.