Johnny T
Member
Hi
Does anyone know if you can use the OPN datablock command indirectly.
I have a number in an address at DB80.DBW6 and I basically want to open the DB that corresponds to this number.
I've tried...
... but it doesn't accept it.
Any ideas on how to do this?
I know I could use some comparators to check the value of DB80.DBW6 and then use a marker and have a separate OPN command for each value but there are 32 different DB's I need to open so I was looking for a more elegant solution.
Cheers
JT
Does anyone know if you can use the OPN datablock command indirectly.
I have a number in an address at DB80.DBW6 and I basically want to open the DB that corresponds to this number.
I've tried...
DB[DB80.DBW6]
------------------------------------(OPN)
... but it doesn't accept it.
Any ideas on how to do this?
I know I could use some comparators to check the value of DB80.DBW6 and then use a marker and have a separate OPN command for each value but there are 32 different DB's I need to open so I was looking for a more elegant solution.
Cheers
JT