Keystroke Point of Sale Help

Forms Editor - Menus - Field Menu - Edit Field

The Forms Editor - Field Menu - Edit Field option is used to display the Edit Field screen for the selected field.

Field button - Used to select the current field.

Field Text - Text that appears in a field. For a Variable field (one that has data assigned to it), this text is not printed.

Line Num - The line number on which the field appears on the form.

Column Num - The column number in which the field appears on the form.

Width - The number of characters allowed in the field.

Alignment - The alignment of the text within the field.

Absolute Line - Defines the field's positioning as Absolute.

Flags - Determines how the field is treated. Set only one field flag in most cases.

The Field Flags are:

1 - Comment
2 - Payment Loop
4 - Tax Loop field
8 - Detail loop
16 - Skip Blank Item
32 - Form Message
64 - Don't Print if 0
128 - Start Component Section
256 - Concatenate with next field
512 - Fill with Field text
1024 - Number to Dollars Text

2048 - Skip Line if Blank
If this is on, then all fields on that line will be skipped if the item is blank. This should only be used on the first field on the line. Also, if this flag is on and the field width is set to 1, the program will recognize this as a way to determine whether or not the rest of the line will print and will so will only print a space character instead of the fields actual value. Additionally, the flag can be combined with Don't Print if 0 to not print the line if the field is 0 (or 0.00). These features can be used to provide a "You Saved" line in either the body or the summary and have it only appear when they did actually save some money.

4096 - Don't print if < 0 (Negative)

8192 - Use Field Text as Masked. If this is on, then the program will reformat the field based on the information entered in Field Text. This is used to force the program to always display a number in a particular format.


"0.0" - Number will always use 1 decimal point and have a 0 in the ones digit if the number is less that 1.

-"0.00#" - 2 or 3 decimal points.

- "$#,##0.00" - Display as a dollar amount with commas.

16384 - Remove Printed Characters

If this is on, the program will remove from the printed field characters that have already been printed. This allows one part of the field to be printed in one area and another part in another area of the form. This would mainly be used with comments that are not marked as comments. When printing a variable field the Field Text portion of the field can now be printed every time by including an "&" in it. The & is replaced by the information contained in the variable field. This is similar to the functionality that was already available that if the variable field was blank, the program would print the Field Text (the program still does this). An example would be to create a file name based on an item's stock number by putting "Data\Photos\&.JPG" in the Field Text portion of the Stock Number field. Then if the stock number of the item was 1024, the program would print: Data\Photos\1024.jpg When a variable field's Field Text is printed because the "&" character was included in it, the program will replace the characters "%ProgDir%" with the current Program Directory and "%DataDir%" with the current Data Directory. For example, placing "%DataDir%Photos\&.JPG" in the Field Text of the stock number field and then printing a form using the data directory C:\Keystroke\Data and printing a line item for stock number 1024 would print: C:\Keystroke\Data\Photos\1024.JPG.

32768 - Print as Graphics File

If this is on, then the text that would normally be printed is treated as the file name of a graphic file to be printed (file name includes the location of the file relative to the Program Directory). If the file is not found (or cannot be printed) or if the form is not being printed to a windows printer then it is simply skipped. The position of the graphic will be where the field is placed on the form. The width of the graphic will match the width of the field (the field text can be longer than the displayed field). The Height is determined by the graphic itself and will proportionately match the specified width. Any text printed on the form will cover up the graphic so you must make sure to leave enough room to print the graphic or it will be cut off. Note that the text that is to be printed (and therefore the filename) does not need to be hardcoded on the form. Any variable field that specifies a valid filename can be used.

65536 - Print as Signature

If this is on, then the information printed is treated as a Signature field.

131072 - Commas instead of New Line

Commas instead of New Line will replace Hard Returns (aka Carriage Return or Paragraph Mark) with a comma and a space. On Reports, it will also replace character #255 on lists (like Serial Numbers and Alternate Codes) with a comma and a space. This allows lists to print more than one list entry on each line.

262144 - Start New Page After This Field

524288 - Skip Line After First Page

1048576 - Loyalty Points Loop

2097152 - Loyalty Buckets Loop

******** - The Flag does not apply to the current section.

Print Codes - Select print formatting for the field.


Forms Editor Contents

Keystroke Help Table Of Contents