Using Environment Variables in PBS

Hi,

I know this should be simple enough, but I can't seem to find the solution.  This is my scenario, I have a connection to our Oracle server and the has features that are being edited in different batches.  I want to show the data in my batch differently to the other batches, so I can see what is part of my batch.  I have an environment variable defined which has the batch number I am currently working on (and I use this as a default value when I create new features).

So what I would like to do is use this environment variable as the value to check against as part of my property based symbology.

So how do I define a rule to do this?

I did think that something like 'COMPARE("[MAINT_SUFI]",envvar(NCC_MAINT_SUFI),"")' or maybe 'COMPARE("[MAINT_SUFI]",ActiveWorkspace.ConfigurationVariableValue("NCC_MAINT_SUFI"),"")' might work (and I will try it), but I can't find any documentation to confirm this.

Any ideas??

I also tried '0!=strcmp("[MAINT_SUFI]",envvar("NCC_MAINT_SUFI"))' and this didn't work either.

Regards, Ian

Parents Reply Children