Jump to content

Date Range Search


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

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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