Jump to content
Sign in to follow this  
skearton

Find a Date Range via Dialog Box input fields?

Recommended Posts

I'm trying to write a script that does a find and then generates a Invoice report based on the user inputs through a Show Custom Dialogue box, but I'm confused.

How do you tell the script to take the date range that was given by the user to do a find within that invoice date field etc?

Can an input fields be a button choice?

I need the user input two qualifiers for the find. One is for the invoice date range and the selection of "Invoice" from a drop down list, that would also include values like "quote", "pending"...

i.e. the dialogue box shows the input field for date range (button 1), the drop down list for "Invoice", "Quote" and the third button would be to cancel.

Share this post


Link to post
Share on other sites

Rather than using a custom dialog, create a layout specifically for the job. Custom dialogs cannot display drop down lists.

Use global fields to store the values, and script the find to put the values into the correct fields in the find requests.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

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