Jump to content

select of dates not working in the script


This topic is 2557 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi

 

When in the scene details layout and using the pop out for the all unit report, when you select dates it still generate a report that includes all dates even though I have asked it to go between the dates selected???? It also shows up all the dates as well whether you select them or not.

 

 

Can anyone help and see what I am missing as I cannot see what else in the report sort button trigger script I need to make it sort the between selected dates, or to make it work with selected dates.

 

thanks

Crowd Breakdown Template backup copy 5.fmp12.zip

Link to comment
Share on other sites

Can anyone help and see what I am missing as I cannot see what else in the report sort button trigger script I need to make it sort the between selected dates, or to make it work with selected dates.

 

Study the section in your script between the MODIFIED comments; see how the date range is defined, and how the loop is controlled by checking the value count of unit search criteria against the count of requests, without the need for a separate iteration variable.

 

And as Lee said: learn how to use the Script Debugger (and the Data Viewer); these features will save you tons of headache.

Crowd Breakdown_eosMOD_script.fmp12.zip

Link to comment
Share on other sites

This topic is 2557 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.