Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Problem making an Subject in the header based on the found set (date range).


tomislaw
 Share

Recommended Posts

I wish to make a report from a date range. I make an search by date. In the search field is entered "(_some _start_date_)...(_some_ending_date)", for example say "1/1/2006...1/3/2006" (from 1 january to 1 march). All records in this date range are found. An script will generate the report.

 

So far, no problem. But now come the tricky part. I wish to put the date range in the header for the subject. Also, something like that: "This is the report for the date range from 1/1/2006 to 1/3/2006".

 

How to put the date range in some field in the header without do any manual entering the date or anything else. Just based on the date values that I entered in the search field?

 

P.S.

Sorry for my bad english.

Link to comment
Share on other sites

Here's one way...

 

Use a global field (gDate_Range) in the header and in your script include:

 

Enter Find Mode[]

Show Custom Dialog ["Find"; "Enter Date Range";yourTable::date)

Set Field [yourTable::gDate_Range; "This ..... from " & Substitute(yourTable::date;"..."; " to ")]

Perform Find[]

 

Regards

Blevey

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

 Share



×
×
  • Create New...

Important Information

Terms of Use