Hello, I am trying to have a page print based on the value of a record returned from a sql qry. Basically, if a customer is "X", print the page, otherwise disable it.
I looked at the conditions for the page, but all I am presented with is an option for highlighting, nothing more.
How can I enable of disable the page based on a variable?
Conditional Page Print
-
- Posts: 6335
- Joined: Tue Mar 20, 2018 5:34 am
Re: Conditional Page Print
Hello,
You can use the "Component Is Enabled" option in the Condition for that task.
Thank you.
You can use the "Component Is Enabled" option in the Condition for that task.
Thank you.
Re: Conditional Page Print
This doesn't seem to be working.
I created a variable that is set to True or False depending on a customer name, then in the Conditions section of the page (under appearance), I used this as the expression: ShippingChkLst.Enabled=varriable.
Is this what you are talking about doing?
I created a variable that is set to True or False depending on a customer name, then in the Conditions section of the page (under appearance), I used this as the expression: ShippingChkLst.Enabled=varriable.
Is this what you are talking about doing?
-
- Posts: 6335
- Joined: Tue Mar 20, 2018 5:34 am
Re: Conditional Page Print
Hello,
Please check sample report in the attachment.
Thank you.
Please check sample report in the attachment.
Thank you.
- Attachments
-
- ReportPageEnabled.mrt
- (3.98 KiB) Downloaded 253 times
Re: Conditional Page Print
This is so unbelievably frustrating. I hate Shoptech with a passion!
I am yet another user of shoptech who is forced to use a butchered version of this software where they seem to break its functionality. Then when you ask for info on how to use the designer to modify reports they direct us here, which yields zero results because all the help you provide is useless in shoptech's modified version.
Not stimulsofts fault, just ranting out of utter frustration.
This file you attached is useless to me as I have zero way of opening it. If you could kindly have patience with me, attached is a screen shot of the section I am entering info in. Is this the correct location and syntax?
I am yet another user of shoptech who is forced to use a butchered version of this software where they seem to break its functionality. Then when you ask for info on how to use the designer to modify reports they direct us here, which yields zero results because all the help you provide is useless in shoptech's modified version.
Not stimulsofts fault, just ranting out of utter frustration.
This file you attached is useless to me as I have zero way of opening it. If you could kindly have patience with me, attached is a screen shot of the section I am entering info in. Is this the correct location and syntax?
- Attachments
-
- ConditinalReportPage.jpg (117.26 KiB) Viewed 2792 times
Re: Conditional Page Print
Hello, thank you for this file. I was able to locate where shoptech loads its default reports and I replaced one with this so I was able to view it. It helped me tremendously, thank you thank you thank you!Lech Kulikowski wrote: ↑Fri Oct 15, 2021 1:03 pm Hello,
Please check sample report in the attachment.
Thank you.
-
- Posts: 6335
- Joined: Tue Mar 20, 2018 5:34 am
Re: Conditional Page Print
Hello,
You are welcome.
You are welcome.