Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Info prompts

Info prompts

Info prompts

I am using Info 7.5. I am trying to set up a monthly query with a date parameter and schedule it to run with a date Prompt for the last full month. We have daily queries that run great with a "Yesterday" prompt. What are the available choices for Prompts? Does it depend on the d/base? And is there one for last full month?


RE: Info prompts

lastfullmonth is valid.

You state that you're scheduling a report to prompt?

That doesn't make sense.

Anyway, to limit rows to the last full month, select Report->Edit Record Selection->Record and place something like:

{table.date} = lastfullmonth


RE: Info prompts

Do I understand this correctly ?

You have a report which can be ran off monthly ( or for other periods ? ) so you want a prompt when it's scheduled so you can choose "Last Month" or whatever period you want to schedule it for ?

Basically what you need to do is write formula which looks at your prompt, if it says "Last Month" your formula should work out the start and end dates for last month and store them in variables.

You will then need 2 new formulas for the Start Date and End Date which essentially just return the two variables you set in the other formula, these formulas are then used in the Record Selection thing like this:

Record.Date >= {@StartDateFormula} and
Record.Date <= {@EndDateFormula}

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close