Alpha Software Message Board  

Go Back   Alpha Software Message Board > Alpha Four > Alpha Four Version 6 and Prior
Register FAQ Members List Calendar Mark Forums Read

Reply
 
Thread Tools
Old 09-20-2001, 02:52 PM   #1
Robin Michael
 
Posts: n/a
Default Capture To / From Date to report

I need to run a report that not only requires the run date but I need to capture from the and input it into the form after the run date.

Run Date ------ Search Date Range: ------ to ------

The Search Date Range needs to be picked up from the Search Sort list.

HOW? ?

Any help would be most appreciated.

Thank you in advance for your time

Robin Michael
Tryon, NC
WNC
  Reply With Quote
Old 09-20-2001, 06:40 PM   #2
Ken Fleming
 
Posts: n/a
Default RE: Capture To / From Date to report

I run a Date Variable in a Dialog script which contains two variables %Begindate and %Enddate. I have a hot key on the menu bar that plays the dialog script. Then in the report I put the First date and Last Date on the report form. This is explained very well in the Tutorial manual for Ver. 4 and 6 in the back. It is called Get dates. I call my dialog script getdates. The date variable is tricky but well worth the time spent. I use it in almost all my databases.

DATE >= CTOD (%begindate) .and. DATE
  Reply With Quote
Old 09-20-2001, 11:55 PM   #3
Ken L Herrold
Guest
 
Join Date: May 2000
Posts: 1,081
Default RE: Capture To / From Date to report

Robin:

Ken Flemming has precisely the best way to do that.

I've attached the dialog script that I've used for years. The difference is it collects the date variables %begin and %end. The 'Continue' button doesn't do anything but when [enter] is pressed [or a single left mouse-click]after enterng the date variables the dialog closes and the script continues. As you know Alpha will keep those variable values for the entire session.

These variables can be inserted into your search-sort using curley braces. Or... you can have the report do the search sort with the 'explicit search' option in parameters.

Your report's calculated fields to display these dates will be 'Startdate' [expr] CTOD(%Begin) ---- 'Enddate' [expr]CTOD(%end).

Hope this gets you moving.

(other) Ken
Attached Files
File Type: scp Whatdate.scp (1.4 KB, 0 views)
Ken L Herrold is offline   Reply With Quote
Old 09-21-2001, 12:10 AM   #4
Ken L Herrold
Guest
 
Join Date: May 2000
Posts: 1,081
Default RE: Capture To / From Date to report

Robin:

I'm not a good communicator. I said "..these can be entered using curley braces..." WRONG!

For the search-sort choose 'expression' and enter those variables as Ken Flemming suggests.I.E. substitute my variable names.

That's better.

(other) Ken
Ken L Herrold is offline   Reply With Quote
Old 09-21-2001, 03:16 AM   #5
Robin Michael
 
Posts: n/a
Default RE: Capture To / From Date to report

Thank you all for your input. I will now try to set this up so that we can get it to work. If I have trouble - I will be back again.

Thank you again

Robin
  Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Capture File Date &Time Stamp Ed Alpha Five Version 6 4 09-09-2005 11:45 AM
Signature capture sicomputerguy Alpha Five Version 6 2 09-09-2005 06:04 AM
Capture Xdialog value crimmelcp Alpha Five Version 6 4 01-23-2005 05:44 PM
how to capture error Trevor Knight Alpha Five Version 5 2 03-22-2004 03:53 AM
Capture Weights fgpylant Alpha Five Version 4 4 04-23-2002 03:52 PM


All times are GMT -4. The time now is 11:22 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright © 2008, Alpha Software, Inc.