Jump to content
Sign in to follow this  
Kor

Find Date

Recommended Posts

Hi!

It is quite simple: I created a layout used to search locations (cities) and/or dates. I created my own button 'Find' because in Find Mode I am not able to enter dates (...?). Anyway, when I press Find, it leads to a nice report, and everything is correct... except for the date. When I input my search parameters, I simply write down the date I want the report to begin with (this field is called 'DummyDate' and is used only for finds) and when I click Find, it places it in another field ('BeginningDate', which is used in my report) and performs the find. I have inserted stops in my script, and everything seems to work. It goes to my report... but when I come back to my search layout, the date in 'BeginningDate' is not the same than in 'DummyDate'....

Anyone can help me? It is quite an urgent matter...

Thanks

Francis Moisan

Turbo Images Inc.

Share this post


Link to post
Share on other sites

I think this will solves your problem; before performing the find, in your script use this statement:

- Set Field (BeginningDate, DateToText(DummtDate))

Hope this helps, regards.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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