Model 672/675 Technical Reference Manual
9-127
changes any time and/or date parameter output to text format
16,1;2%y
1,”Aggregate”,5000,250,03:14:25 pm 05/18/00
2,”Cement”,1000,100,03:14:35 pm 05/18/00
3,”Fly Ash”,500,50,03:14:43 pm 05/18/00
4,”Recycle”,1000,250,03:14:59 pm 05/18/00
5,”River Rock”,2000,250,03:15:08 pm 05/18/00
ENDofDB
Note that time/date text values are not encapsulated in double-quotes. When using variables to represent
time/date values, the download format will reflect the selection at P688 of the setup mode (time only, date
only, or time & date).
Although downloading the time/date in text format produces a more readable output, using the number format is
often more advantageous if exporting to a PC spreadsheet. See Time & Date (Mode 11) on page 7-12 for more
information.
%
%
y
y
P
P
r
r
i
i
n
n
t
t
R
R
o
o
w
w
Syntax Print Row
14 [ , dbase# ] [ ; comm ] %y
Arguments
dbase# Database number (1 → 250).
comm Communication port (1 → 4).
Notes
Omitting dbase# assumes database last accessed. If no databases have been accessed,
the first defined database is assumed.
Omitting comm assumes port 1.
See Also %y Print Database
Print Row
Transmits the currently selected row of a database in fixed-width, spreadsheet format similar to the Print
Database command. This allows you to print selective rows rather than the entire database (see example -
Printing Database Rows).
14,1%y
Transmits the currently selected row in database
#1 out comm port 1.
14,1;1%y
Transmits the currently selected row in database
#1 out comm port 1.
14,2;3%y
Transmits the currently selected row in database
#2 out comm port 3.
14%y
Transmits the currently selected row of the last
database selected out comm port 1.
14;3%y
Transmits the currently selected row of the last
database selected out comm port 3.
Example:
Printing Database Rows
This macro routine prints all rows in a database
which match a specific part#. The part # is stored
in VAR#1 VAR#2 is used as the part# column in
database #2.
===================================
MACRO #100 – PRINT ALL MATCHES
Enter Part#%G get operator entry
=80.1P%o save entry
5,2%y recall first row
1%T tag #1
4%_ if record not found…
Done! prompt
%N else
%{
80.2P>=80.1P%o if >= part#
14,2%y print row
%E end if
6,2%y get next row
1%J jump to tag #1
%}
%E end if