Item - Batch Save

Please refer to Adding a New Item for specific information on how to add an ITEM and how to change its properties.

Description

The Batch_Save ITEM is used in conjunction with other Batch ITEMs. The Batch_Save ITEM will only save data in Batch related ITEMS.

This means that in a TASK that is set up for Batch Saving, extra items can be included for say calculations, which will not be included by the Batch_Save ITEM.

The Batch_Save ITEM is designed to append data to a MicroSoft Access 7 Data Base.

 

Properties

Class Name A unique name for this item. The class name is display only and cannot be changed.
Name Enter a meaningful name for this Item so that you, and other people, will easily recognize what it is for.
Enabled No - The ITEM is not enabled and will not update when its TASK updates

Yes - The ITEM is enabled and will update when its TASK updates.

Dbase Path Select the directory where you wish the Data Base to be created.
Dbase Prefix Enter a unique prefix for the Data Base name. This prefix will be followed by text representing a date and then by the Access file extension ".mdb". For example "MyPrefix2000.mdb".
Dbase Rollover None - File will not be rolled over.

Year - New File every year

Month - New File every month

Week - New File every week. The week starts at Sunday 0:00Hrs. The file name text will be based on the last day in the week, that is Saturday.

Day - New File every day

Hour - New File every hour

Minute - New File every minute

Second - New File every second

Note: The File name is set when the Batch starts and will not be changed while the Batch is running.

Dbase Table Name Enter a unique name for the Table in the Data Base, this will most likely represent the process or area.
Encrypt Dbase If the Dbase is encrypted then it will be more secure but access speed will be slightly slower.
Dbase Password Enter a password for the Dbase if required.
Save Frequency Every Scan - Saves data each time the TASK is updated.

Only at End - Saves data only at the end of the Batch.

Batch Run Select the ITEM that is setup monitor the Batch Run.
Calc Batch Length In Each time the Batch is saved to disk the ITEM calculates how long the Batch has been running. The calculation can be made in; Days, Hours, Minutes, or Seconds.

 Note: If you are saving data only at the end of the Batch, then it would be best to order the ITEMS as follows:

  1. Batch Run.
  2. Batch Save.
  3. Other ITEMS.

The above order will mean that when the TASK is updated and the Batch has just stopped, then the Batch_Save ITEM will save the value of the other ITEMS. Only the value of the other ITEMS will still be from the previous update whilst the Batch was running. Hence the data from the last update when the Batch was running will be saved. This is because when a TASK updates, it updates its ITEMS in sequential order starting with the first ITEM.

 Back to Items Index

 Back to Contents