Disable a Page based on database field
Posted: Wed Feb 13, 2013 3:29 pm
Is there a way to disable a page based on a field from the database?
Example...
I have a Page1 and a Page2 in my designer.
Page1 prints every time, Page2 I want only to print based on what comes back from the database.
Or if I could disable Page2 based on a parameter in the query string, that would work too... is that possible?
Something like that would be:
http://mywebsite/reports?report_key=????&page2=false
Example...
I have a Page1 and a Page2 in my designer.
Page1 prints every time, Page2 I want only to print based on what comes back from the database.
Or if I could disable Page2 based on a parameter in the query string, that would work too... is that possible?
Something like that would be:
http://mywebsite/reports?report_key=????&page2=false