Jimjmn Posted August 1, 2007 Share Posted August 1, 2007 I am new to FM and am wanting to produce a report that is sorted by a range between two dates. I have tried to no avail to have maybe a custom dialog box that would gather the dates and them import them into the search field (purchase date) and then search. I know that I can manualy type the dates into the field seperated by "..." but I would rather it be a little more automated. Any ideas? Link to comment Share on other sites More sharing options...
The Big Bear Posted August 1, 2007 Share Posted August 1, 2007 Jim Create a script that would produce yur dialog box and after the user choose "OK" button then add this to the script. 1)If(lastmessagechoice)=1 enter find mode 2) insert calculated results (choose the target field, then choose the two date fields with your"..." between them. 3) preform find. You need to use the "Get(DateasNumber) function before your two date fields in your calculation. Example: Get(DateasNumber)(date1)&"..."& Get(DateAsNumber)(field2). Hope this helps Lionel Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6106 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 accountSign in
Already have an account? Sign in here.
Sign In Now