Seal Report Forum
»
Report Edition
»
Reports
»
Enum list do be dynamic based on Restrictions?
Rank: Member
Groups: Registered
Joined: 4/17/2017(UTC) Posts: 12 Thanks: 6 times
|
Hi,
Can the Enumerated list be dynamical depending on Restrictions set?
Example would be a counter inside a table that increases twice per day, and by setting restriction of DATE, the ENUM should be populated with the two counter-values valid for today only (as an extra Restriction?
Or is there a different way of doing this?
Thx, Stigh
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
If the enum is built dynamically from your database, you could check the option: 'List is refreshed upon the database connection' to True, in this case the enum is rebuilt before executing the report using your SQL statement (may be time consuming).
Another option is to schedule a task to refresh the enums of your Data Source twice a day (in your case), you can see a sample with the report 30 in the sample directory.
Good luck.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 4/17/2017(UTC) Posts: 12 Thanks: 6 times
|
Originally Posted by: epf If the enum is built dynamically from your database, you could check the option: 'List is refreshed upon the database connection' to True, in this case the enum is rebuilt before executing the report using your SQL statement (may be time consuming).
Another option is to schedule a task to refresh the enums of your Data Source twice a day (in your case), you can see a sample with the report 30 in the sample directory.
Good luck. Ok, but this means it can't do what I was asking, which is; During report creation, I set from and to date (the date-range), then it should update the available list of counter's to be in a list? I think there was another question on this page about the same, but the poster didn't follow up on the question... Thx, Stigh
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
|
|
|
|
Seal Report Forum
»
Report Edition
»
Reports
»
Enum list do be dynamic based on Restrictions?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.