"Validate Only" script kills "Validate &

For suggestions on AccuZIP6 5.0 improvements and info on new and upcoming features

Moderators: Chrissy, Steve, Terry, Donna, Dave, Eric, MartyH, Kristen

Post Reply
nhmarkco
Private
Posts: 8
Joined: Tue Oct 17, 2006 10:17 pm

"Validate Only" script kills "Validate &

Post by nhmarkco » Sat Jul 21, 2007 2:54 pm

Hi,

Ever since I ran the below "Validate Only.scr" Accuzip loses my Presort zip code and directory every time I run, no matter how many times I try to reconfigure them. The Presort zip code is blank, the Presort directory is "Presort Folder", they should be "46256" and "auto".

This problem stops my "Validate & Presort.scr" in Presort setup, I have to reenter the zip code and directory every time.

Thanks,
Mark

"Validate Only.scr"

11/15/2001 16:53:0907/25/2005 11:50:00
*&*******************************************************************************
*&*******************************************************************************
*&*******************************************************************************
*&*******************************************************************************
*& MENU ITEM: Open Database...
*& USE: Open Database...["{cPathName}"]
*& PARAMETER: {cPathName}
*& c:\test.dbf
*& Full path name to valid dBase file
*&*******************************************************************************
*&*******************************************************************************
Open Database...["c:\data\wp\oBSM074.DFS.DBF"]


*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*& MENU ITEM: Command...
*& USE: Command...["{cName}",{nAuto}"]
*& PARAMETERS:
*& {cName}
*& My Command.txt = The .txt extension is used for single Commands.
*& My Command.sdf = The .sdf extension is used for Command Sets. A Command Set runs multiple Commands
*& Enter the name of the Command or Command Set that you want to run. Commands are saved in the Command window
*& <nAuto>
*& 1=Checked, 0=Unchecked
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
Command...["Appendtxt.txt",1]


*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*& MENU ITEM: Validate records...
*& USE: Validate records...["{cSettingName}",{nAuto}]
*& PARAMETERS: {cSettingName}
*& My Settings
*& After setting up the Validate Records window, give the settings a name that can be used here to recall those settings.
*& {nAuto}
*& 1=Checked, 0=Unchecked
*& If checked, the validate process will continue automatically, without user intervention.
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
Validate records...["Default",1]


*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*& MENU ITEM: Command...
*& USE: Command...["{cName}",{nAuto}"]
*& PARAMETERS:
*& {cName}
*& My Command.txt = The .txt extension is used for single Commands.
*& My Command.sdf = The .sdf extension is used for Command Sets. A Command Set runs multiple Commands
*& Enter the name of the Command or Command Set that you want to run. Commands are saved in the Command window
*& <nAuto>
*& 1=Checked, 0=Unchecked
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
Command...["Showdone.txt",1]


*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*& MENU ITEM: Exit
*& USE: Exit
*& PARAMETERS: None
*& If used, the program will Exit/Quit and no other Script event lines will be processed
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
Exit


****************************************
****************************************
*** END OF SCRIPT
****************************************

"Validate & Presort.scr"


11/15/2001 16:53:0910/17/2006 09:21:09
*&*******************************************************************************
*&*******************************************************************************
*&*******************************************************************************
*&*******************************************************************************
*& MENU ITEM: Open Database...
*& USE: Open Database...["{cPathName}"]
*& PARAMETER: {cPathName}
*& c:\test.dbf
*& Full path name to valid dBase file
*&*******************************************************************************
*&*******************************************************************************
Open Database...["c:\data\wp\ALLOT237.DFS.DBF"]


*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*& MENU ITEM: Command...
*& USE: Command...["{cName}",{nAuto}"]
*& PARAMETERS:
*& {cName}
*& My Command.txt = The .txt extension is used for single Commands.
*& My Command.sdf = The .sdf extension is used for Command Sets. A Command Set runs multiple Commands
*& Enter the name of the Command or Command Set that you want to run. Commands are saved in the Command window
*& <nAuto>
*& 1=Checked, 0=Unchecked
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
Command...["Appendtxt.txt",1]


*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*& MENU ITEM: Validate records...
*& USE: Validate records...["{cSettingName}",{nAuto}]
*& PARAMETERS: {cSettingName}
*& My Settings
*& After setting up the Validate Records window, give the settings a name that can be used here to recall those settings.
*& {nAuto}
*& 1=Checked, 0=Unchecked
*& If checked, the validate process will continue automatically, without user intervention.
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
Validate records...["Default",1]


*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*& MENU ITEM: Command...
*& USE: Command...["{cName}",{nAuto}"]
*& PARAMETERS:
*& {cName}
*& My Command.txt = The .txt extension is used for single Commands.
*& My Command.sdf = The .sdf extension is used for Command Sets. A Command Set runs multiple Commands
*& Enter the name of the Command or Command Set that you want to run. Commands are saved in the Command window
*& <nAuto>
*& 1=Checked, 0=Unchecked
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
Command...["Filter1.txt",1]


*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*& MENU ITEM: Presort Mail...
*& USE: Presort Mail...[{cSettingName},{nAuto},{1}]
*& PARAMETERS: {cSettingName}
* My Settings
* After setting up the Presort window, give the settings a name that can be used here to recall those settings.
* {nAuto}
* 1=Checked, 0=Unchecked
* If checked, the presort process will continue automatically, without user intervention.
* {1}
* This parameter MUST always be 1 or this event will not function properly.
**************************************************************************************************************************************************
**************************************************************************************************************************************************
Presort Mail...[Default,1,1]


*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*& MENU ITEM: Print Presort, Reports...
*& USE: Print Presort, Reports...[{nQual},{nMail},{nCASS},{nParam},{nZoneSum},{nZoneDetail},"<dMailDate>",{nPrompt},{nPreview},{nAuto}]
*& PARAMETERS: {nQual}
*& 1=Checked, 0=Unchecked
*& If checked, the Qualification Report will print
*& {nMail}
*& 1=Checked, 0=Unchecked
*& If checked, the Mailing Statement will print
*& {nCASS)
*& 1=Checked, 0=Unchecked
*& If checked, the CASS Certificate will print
*& {nParam}
*& 1=Checked, 0=Unchecked
*& If checked, the Presort Parameter report will print
*& {nZoneSum}
*& 1=Checked, 0=Unchecked
*& If checked, the Zone Summary report will print
*& {nZoneDetail}
*& 1=Checked, 0=Unchecked
*& If checked, the Zone Detail report will print
*& {dMailDate}
*& MM/DD/YYYY
*& Use a valid date or leave blank and the software will use the current date
*& {nPrompt}
*& 1=Checked, 0=Unchecked
*& If checked, you will be prompted with the Print Setup window before the document is printed.
*& {nAuto}
*& 1=Checked, 0=Unchecked
*& If checked, printing will occur automatically, without user intervention.
*& {nPDF}
*& 1=Checked, 0=Unchecked
*& If checked, a PDF file named Documentation.pdf will be created in the Presort folder.
*& {nPackage}
*& 1=Checked, 0=Unchecked
*& If checked, the Packaging report will print.
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
Print Presort, Reports...[1,1,1,0,0,0,"12/02/2002",0,0,1,0]


*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*& MENU ITEM: Print Presort, Tags...
*& USE: Print Presort, Tags...[{nDetail},{nSummary},"{cSource}","{cContainerType}","<cMessage>",{nPreview},{nPrompt},{nAuto}]
*& PARAMETERS: {nDetail}
*& 1=Checked, 0=Unchecked
*& If checked, the Container Tags will print
*& {nSummary}
*& 1=Checked, 0=Unchecked
*& If checked, the Container Tag Summary report will print
*& {cSource}
*& Cut Sheet, Continuous
*& {cContainerType}
*& Trays, Sacks
*& <cMessage>
*& Enter a message up to 35 characters long
*& {nPreview}
*& 1=Checked, 0=Unchecked
*& If checked, the documents will preview on the screen. You will then have the option to print the document to the printer.
*& {nPrompt}
*& 1=Checked, 0=Unchecked
*& If checked, you will be prompted with the Print Setup window before the document is printed.
*& {nAuto}
*& 1=Checked, 0=Unchecked
*& If checked, printing will occur automatically, without user intervention.
*& {nPDF}
*& 1=Checked, 0=Unchecked
*& If checked, a PDF file named Tags.pdf will be created in the Presort folder.
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
Print Presort, Tags...[0,1,"Cut Sheet","Trays","",0,0,1,0]


*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*& MENU ITEM: Print Presort, Tags...
*& USE: Print Presort, Tags...[{nDetail},{nSummary},"{cSource}","{cContainerType}","<cMessage>",{nPreview},{nPrompt},{nAuto}]
*& PARAMETERS: {nDetail}
*& 1=Checked, 0=Unchecked
*& If checked, the Container Tags will print
*& {nSummary}
*& 1=Checked, 0=Unchecked
*& If checked, the Container Tag Summary report will print
*& {cSource}
*& Cut Sheet, Continuous
*& {cContainerType}
*& Trays, Sacks
*& <cMessage>
*& Enter a message up to 35 characters long
*& {nPreview}
*& 1=Checked, 0=Unchecked
*& If checked, the documents will preview on the screen. You will then have the option to print the document to the printer.
*& {nPrompt}
*& 1=Checked, 0=Unchecked
*& If checked, you will be prompted with the Print Setup window before the document is printed.
*& {nAuto}
*& 1=Checked, 0=Unchecked
*& If checked, printing will occur automatically, without user intervention.
*& {nPDF}
*& 1=Checked, 0=Unchecked
*& If checked, a PDF file named Tags.pdf will be created in the Presort folder.
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
Print Presort, Tags...[1,0,"Cut Sheet","Trays","",0,0,1,0]


*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*& MENU ITEM: Command...
*& USE: Command...["{cName}",{nAuto}"]
*& PARAMETERS:
*& {cName}
*& My Command.txt = The .txt extension is used for single Commands.
*& My Command.sdf = The .sdf extension is used for Command Sets. A Command Set runs multiple Commands
*& Enter the name of the Command or Command Set that you want to run. Commands are saved in the Command window
*& <nAuto>
*& 1=Checked, 0=Unchecked
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
Command...["Showtags.sdf",1]


*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*& MENU ITEM: Command...
*& USE: Command...["{cName}",{nAuto}"]
*& PARAMETERS:
*& {cName}
*& My Command.txt = The .txt extension is used for single Commands.
*& My Command.sdf = The .sdf extension is used for Command Sets. A Command Set runs multiple Commands
*& Enter the name of the Command or Command Set that you want to run. Commands are saved in the Command window
*& <nAuto>
*& 1=Checked, 0=Unchecked
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
Command...["Showdone.txt",1]


*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
*& MENU ITEM: Exit
*& USE: Exit
*& PARAMETERS: None
*& If used, the program will Exit/Quit and no other Script event lines will be processed
*&*************************************************************************************************************************************************
*&*************************************************************************************************************************************************
Exit


****************************************
****************************************
*** END OF SCRIPT
****************************************

Post Reply