Greater than condition not working
I am trying to apply a condition for resizing a progress bar (percent complete), based on the value of data grid element.
My condition is:
WHEN percent-complete.value > 90 (resize bar to xxx px)
I have applied this to the On Page Load event, however it never works. Ideally, I would like to do multiple conditions for between number sets, such as:
WHEN percent-complete.value > 65 & percent-complete.value < 90
I can't even get the simpler one to work. Any help would be greatly appreciated.
Here's an easier way - resize according to the value of the percentage and its percentage relative to a container. We placed the percentage rectangle in a dynamic panel. The event will resize the rectangle according to the percentage relative to the panel. For example, a percentage value of 90% resizes the rectangle to 90% of the dynamic panel.
Do the percentages in your Data Master contain the '%' sign? If so, the event won't work - they need to be plain numbers. We added another 'On Page Load' event that concatenates a '%' to the values so that they'll still appear as %.
Here's an easier way - resize according to the value of the percentage and its percentage relative to a container. We placed the percentage rectangle in a dynamic panel. The event will resize the rectangle according to the percentage relative to the panel. For example, a percentage value of 90% resizes the rectangle to 90% of the dynamic panel.
Do the percentages in your Data Master contain the '%' sign? If so, the event won't work - they need to be plain numbers. We added another 'On Page Load' event that concatenates a '%' to the values so that they'll still appear as %.
It can be a little difficult to know why it's not working without seeing a reference file or image of all the elements on the screen. If possible, can you attach the file here so we can check it out? You can compress it to .zip/.rar format to attach it.
It can be a little difficult to know why it's not working without seeing a reference file or image of all the elements on the screen. If possible, can you attach the file here so we can check it out? You can compress it to .zip/.rar format to attach it.
Here are all the screen shots. I can't upload the solution files because it has customer logos, etc.
Here are all the screen shots. I can't upload the solution files because it has customer logos, etc.
Here's an easier way - resize according to the value of the percentage and its percentage relative to a container. We placed the percentage rectangle in a dynamic panel. The event will resize the rectangle according to the percentage relative to the panel. For example, a percentage value of 90% resizes the rectangle to 90% of the dynamic panel.
Do the percentages in your Data Master contain the '%' sign? If so, the event won't work - they need to be plain numbers. We added another 'On Page Load' event that concatenates a '%' to the values so that they'll still appear as %.
Here's an easier way - resize according to the value of the percentage and its percentage relative to a container. We placed the percentage rectangle in a dynamic panel. The event will resize the rectangle according to the percentage relative to the panel. For example, a percentage value of 90% resizes the rectangle to 90% of the dynamic panel.
Do the percentages in your Data Master contain the '%' sign? If so, the event won't work - they need to be plain numbers. We added another 'On Page Load' event that concatenates a '%' to the values so that they'll still appear as %.
Replies have been locked on this page!