ProFrame1.com Home

Reference Guide

(C) 2006


 

Home

EasyMenu

Updates
Setup Company

System
Company Info
CSR User File
Password System
System Error File
Profile Headers
Custom Form Grids

File
Customer File
Vendor File
Inventory File
Salesman File
Department File
Catalog File
Location File
Route File
Terms File
Letter File
Zip Code File
UPS Zone File
United Inches Chart
Item Comment File
ShipVIA File
Qty Type Discounts
ShipFrom File
Credit Card File

CSR Menu
CSR Menu Screen
Work Order
Quote
Sales Order
Return
Confirm Orders
Edit Orders
Inquiry Orders
Post Sales Calls
Post Cash Receipts
Post Credit Memo
Post Write-Off
Inquiry Cash
UnDo Cash/Memo
Apply Credit's
Post Shipments
Edit Invoice

Utility Menu
Reindex Files
ExportEASY
Command Line
On Sale System
Purge History Files
Global Price Change
Item Catalog Change
Remote Utility
Quick Customer
Quick Inventory
Copy Discount Utility
Website Catalog Utility

Transaction Menu
CSR Menu Screen
Close Period
Recalculate AR
Reset Open Allocation
 
 
 
 
 
 
 
 
ReportEASY & ExportEASY (Utility Menu)
 
General Purpose: This reference page covers both the ReportEASY and ExportEASY utility programs. Both use the same screens. Each option activates fields and options that fits the process being performed. Ex: the Modify Report button is made active when ReportEASY is selected and not when ExportEASY is. Both allows user to build from database file structures to produce custom reports or export files. Most any data file used in this product can be exported out into many different formats. Including Excel, ASCII etc...
 
Access Menu:  (start form Main Menu Screen)
  • Utility

  • ReportEASY

  • or

  • ExportEASY

 
ExportEASY....

Custom Export & Report Utility Section
 

Data File Selection Menu
  • Select Data File for Export or Report.
  • Highlight your selection and press enter key.
  • OR Double Click your selection.
  • OR Highlight your selection and press Start.
  • Press ESC key to Exit..
  • OR press Quit to Exit..
  • Note: Data is loaded into temporary files.
  • Note: Current and History data are loaded.
 

Main Screen (Field Selection Screen)
Basic Idea, select fields from the Data Field List using the Selection Control buttons to add and remove into the Selected Fields list. Then select Sort Keys form the Selected Fields.
 
Selecting Fields
     

Control Buttons

  • Highlight field in the Data Field List and then use the Selection Control Buttons to add to the Selected Fields. See Right >>>
  • > = Add single selection.
  • < = Remove single selection.
  • << = Remove All.
  • >> = Add All.
Notes:
  • Selection order controls field order for Export / Report.
  • Any fields used for Filter must be selected into Selected Fields List.
Selected Fields / Sort Keys
   

Sort

Control Buttons

  • Rpt.. Check this ON to include on Export.
  • Highlight the field to add to Sort or Remove from.
  • > = Add to Sort.
  • < = Remove
  • << = Remove All.
Notes:
  • Sort Keys table is limited to five sort keys.
Header Descriptions:
  • Field: field name.
  • TP: field type, C-Character, N-Numeric, D-Date, L-Logical.
  • Len: field length.
  • Rpt check allows you to deselect fields that you need for filter but not on report/export.
  • A/D: sort order, allows you to select A - Ascending or D - Descending order.
  • Select this when all fields and Filter has been set to load data.
  • Select this to quit.
  • Tip: make sure to save custom format before quitting.
 
Filter Section
Edit, select this to edit the filter commands.
Enter FoxPro Filter commands.. learn more....
 
Custom Catalog Section
You can save and retrieve custom report and export formats for later use.
Retrieve Button
  • This opens a selection window to retrieve saved report or export formats.
  • Note: custom reports and export formats are unique for each user.
  • As custom report and export formats are saved, there saved on that users local drive. This makes it unique for this user. At least for this machine.
  • Each data file has it's own catalog of saved formats.
  • The idea is to create custom formats that can be used over and over again without having to re-create them.
 
Report/Export Description
  • Enter a description for this report or export format.
  • Note: this is displayed during Retrieve above.
  • Note: press enter key to activate save buttons.
Last Update, last update of this custom format.
SaveID, file ID for this report or export format. (internal use)
 
Export/Report
  • ON Catalog this as an Export Format..
  • OFF Catalog this as an Report Format..
  • Note: this is equivalent to selecting ExportEASY or ReportEASY from pull down menu. In other words; you can change from Export type to Report type using this option.
Save Buttons
  • Save select this to save this custom format..
  • Save As select this to save as, use this to copy a format to another..
  • Tip: be sure to rename the description when you save as..

Loaded Data Screen (Browse Data)
After selecting the Load Data button from previous screen.
This allows user to browse the data that will be exported or reported on.
 
Filter Section
Edit, select this to edit the filter commands.
 
Export Section
Format Type
  • DBF FoxPro (This Version), DBF
  • Excel Version 5, XL5
  • Excel Version 2, XLS
  • Lotus 123 Version 1a, WKS
  • Lotus 123 Version 2x, WK1
  • Lotus Symphony Version 1, WRK
  • Lotus Symphony Version 1x, WR1
  • VisiCalc, DIF
  • MS Multiplan Version 4x, MOD
  • ASCII Fix Length, SDF
  • ASCII Delimited, TXT
  • ASCII Delimited with :, TXT
  • ASCII Delimited with BLANK, TXT
  • ASCII Delimited with TAB, TXT
  • Comma Separated Value File, CVS
  • Note: activated when working with ExportEASY..
Drive:\Path\Filename
  • Enter the drive path and filename of the export file using MS DOS 8 character format.
  • Note: the system will automatically add the proper extension to your filename.
  • Ex: Format Excel Version 5 extension is XL5, you only need to make up a 8 character filename, the system will add the XL5 extension. (MyExport will become MyExport.XL5)
  • Tip: keep path and filename simple using DOS naming conventions. (8 character format)
  • Note: using XP long name conventions will cause saving errors.
  • Note: activated when working with ExportEASY..
Grid Style Report
  • ON to use the default grid style report form for this report. (default)
  • OFF to use the Modify Report utility to design this report.
  • Note: you must SAVE to Custom Catalog before this option is activated.
  • Note: requires some knowledge of FoxPro report writer.
  • Note: activated when working with ReportEASY..
Command Buttons
 
Save
  • Select this to save to named export file.
  • Note: after saving, locate that export file using the software product that can read the format it's exported to.
  • Note: activated when working with ExportEASY..
Modify Report
  • Select this to modify the custom report using the FoxPro report writer.
  • Note: requires some knowledge of FoxPro report writer.
  • Note: activated when working with ExportEASY and only after saving custom catalog..
Print
  • Select this to print this custom report.
  • Note: activated when working with ReportEASY..
Done
  • Select this to return back to the main Field Selection screen.


FoxPro Filter Commands
You can use these basic FoxPro commands with functions to filter the type of data you wish to Export or Report on.
Basic Commands and Functions

Function/Description

Usage Format

SUBSTR() - select portion of string value SUBSTR(ChrField1, start position, length)
.AND. - this and that ChrField1 = 'ABC' .AND. NumField2 = 3
.OR. - this or that ChrField1 = 'ABC' .OR. NumField2 = 3
.NOT. - not that .NOT. ChrField1 = 'ABC' .AND.  NumField2 = 3
< - less than sign NumField1 < 3  or DateField1 < DATE()
> - greater than sign NumField1 > 3
<> - not equal to sign NumField1 <> 3
= - equal to sign NumField1 = 3
<= - less than or equal to sign NumField1 <= 3
>= - greater than or equal to sign NumField1 >= 3
$ - equal to.. ChrField1 $ "ABC"   "A" $ "ABC" IF letter A = A or B or C.. statement is true.
DELETED() returns TRUE if record is deleted
UPPER() UPPER(ChrField1)  forces all upper case
LOWER() LOWER(ChrField1)  forces all lower case
LTRIM() LTRIM(ChrField1)  forces left trim
RTRIM() RTRIM(ChrField1)  forces right trim
ALLTRIM() ALLTRIM(hrField1)  forces all trim
DTOC()     -   Date To Character DTOC(DateField1)  converts date to character
CTOD()     -   Character To Date CTOD(ChrField1)  converts character to date
STR() STR(NumField1, Length, Decimals) converts a Numeric field to a character.
DATE() Today's date in date format.
   
Data Types  
C = Character  
N = Numeric  
D = Date  
L = Logical  
   
RULES...  
Cannot MIX data types in comparing.. .. compare Chr to Chr, Date to Date etc...
Character Strings must be in quotation marks .. Single or Double but not mixed.
Characters are CASE Sensitive...  
Include .NOT. DELETED() if you do not want deleted records.  
   
   
 
Examples:
Comparing date format fields.
DateField1 <= CTOD('05/10/2006')
  • DateField1 (D) = database field name
  • converting a given character date to date format.
  • Tip: compare using date format when possible.
  • Filter: all records that the DateField1 is less than or equal to 05/10/2006
DateField1 = CTOD('05/10/2006')
  • comparing to this single date.
DateField1 >= CTOD('05/10/2006') .AND.
DateField1 <= CTOD('05/20/2006')
  • Filter: all records within the date range of 05/10/2006 and 05/20/2006.
  • Note: the .AND. clause is used here.
DateField1 > CTOD('05/09/2006') .AND.
DateField1 < CTOD('05/21/2006')
  • Filter: all records within the date range of 05/10/2006 and 05/20/2006.
  • Note: same as above, except the = sign is removed. The dates are adjusted so the 10th and 20th would be included.
DateField1 <= DATE()
  • Filter: all records that the DateField1 is less than or equal to today's date.
Comparing character format fields.
ChrField1 = 'ABCD'
  • ChrField1 (C) = database field name
  • ChrField1 is 4 bytes in length
  • Note: must be in quotations.
  • Filter: all records that ChrField1 is equal to 'ABCD' (exactly)
SUBSTR(ChrField1,2,1) = 'B'
  • comparing the 2nd byte of ChrField1
  • Filter: all records that the 2nd character of ChrField1 is equal to 'B'
SUBSTR(ChrField1,2,3) = 'BCD'
  • comparing the 2nd,3rd and 4th bytes
  • Filter: all records that the last 3 characters is equal to 'BCD'
SUBSTR(ChrField1,1,2) = 'AB'
  • comparing the 1st and 2nd bytes
  • Filter: all records that the 1st two characters is equal to 'AB'
ALLTRIM(ChrField1) = 'ABCD'
  • Filter: all records that ChrField1 is equal to 'ABCD' (exactly)
SUBSTR(ChrField1,1,2) = 'AB' .AND.
DateField1 >= CTOD('05/10/2006') .AND.
DateField1 <= CTOD('05/20/2006')
  • Filter: all records that the 1st two characters of ChrField1 is equal to 'AB' AND the DateField1 is within the date range of 05/10/2006 and 05/20/2006.
Comparing numeric format fields.
NumField1 >= 50.00
  • NumField1 (N) = database field name
  • Filter: all records that NumField1 is equal to or greater than 50.00
NumField1 <> 0.00
  • Filter: all records that NumField1 is not equal to 0.00
  • Note: quotations are not necessary for numeric type.
.NOT. NumField1 = 0.00
  • Filter: all records that NumField1 is not equal to 0.00 (same as above)
NumField1 >= 50.00 .AND.
SUBSTR(ChrField1,1,2) = 'AB' .AND.
DateField1 >= CTOD('05/10/2006') .AND.
DateField1 <= CTOD('05/20/2006')
  • Filter: all records that NumField1 is greater than or equal to 50.00 AND the 1st two characters of ChrField1 is equal to 'AB' AND DateField1 is within the date range of 05/10/2006 and 05/20/2006.
Comparing logical format fields.  True or False
LogField1 = .t.
  • LogField1 (L) = database field name
  • Filter: all records that LogField1 is true
LogField1 = .f.
  • Filter: all records that LogField1 is false
.NOT. LogField1 = .t.
  • Filter: all records that LogField1 is false
  • same as above...
.NOT. LogField1 = .f.
  • Filter: all records that LogField1 is true
  • same as (LogField1 = .t.)
LogField1 = .t. .AND.
NumField1 >= 50.00 .AND.
SUBSTR(ChrField1,1,2) = 'AB' .AND.
DateField1 >= CTOD('05/10/2006') .AND.
DateField1 <= CTOD('05/20/2006')
  • Filter: all records that LogField1 is true AND NumField1 is greater than or equal to 50.00 AND the 1st two characters of ChrField1 is equal to 'AB' AND DateField1  is within the date range of 05/10/2006 and 05/20/2006.
More examples...
statcode = 'P' .AND.
pdate >= CTOD('01/01/2005') .AND.
pdate <= CTOD('12/31/2005') .AND.
salesmn = 'KEB'
  • Filter: all records that the Status field (statcode) is equal to 'P' (posted) and the Post Date field (pdate) is within the year of 2005 and the Salesman Code (salesmn) is equal to KEB.
salesmn = 'KEB' .AND. ytdsls > 4999.99
  • Say you wanted to export a customer list for a certain salesman of all customers with sales greater than $5,000.
salesmn = 'KEB' .AND. ytdsls > 4999.99
.AND. ldate <= DATE()-60
  • (same as above) but
  • No sales in the last two months
  • Note: DATE()-60 is Today's date minus 60 days.
   
   
 

 


Copyright 2006, EasyBee Software LLC

For Phone Support call: 1-877-903-6176