Jump to content

Query with session variable - any help would be appreciated


Ansel_Tk1

Recommended Posts

Hi all - wondering if someone could point me in the right direction!

Trying to create a recordset that takes into account the value of a session variable. Basically it says - SELECT from this table, these columns and IF {SESSION.user_franchise_code} has a value of '1', show all the records in the table. Otherwise, select the records WHERE column 'map_franchise_code' is equal to that of {SESSION.user_franchise_code}. Wow I hope that makes sense.

any help would be really appreciated....

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.