Quantum Define模版的命令格式 及 模版的基本结构定义
define project_name
适用于新建一个录入结构,系统自动会生成一个名字为project_name.msk的文件。如果该project_name.msk已经存在,则命令语句后回车确认,直接进行文件进行编辑;如果project_name.msk不存在则屏幕提示“The file does not exist, create it (y/n)?”,输入y(无论大小写均可)并回车确认创建该文件。
define project_name card# 或
define project_name card#+column#
适用于msk已经存在的编辑,对其中某一张卡或某个列进行修改时,例如:
define j9999 3 回车后直接进入第3张卡
define j9999 1256 回车后直接进入第12张卡的56列
**运用这种定义方式结束当前卡定义后,define程序将被中止,不可以同时改变其它的卡。
Define project_name回车确认后屏幕显示如下:
14:53 j9999 Cards total : 000 Card : 000 Column : 00 Insert
一些信息提示:文件名,总共卡数,当前卡号,当前列等。
Start, endposition of the personal identification:77,80
一般被用来定义录入员编号,习惯上放在卡的最后列,每次define登录录入界面时均需输入该column值,且每张卡的第77,80列均自动出现该值。
Start, endposition of the respondent number:1,5
被访者编号存放的column位置
Start, endposition of card type:6,7 卡号存放的column位置
Ranking and characters of the numeric symbols: 1234567890-&
数值排列顺序,定义结构时的顺序以这里的定义为依据
Number of the first card: 1 起始卡号
Number of cards for automatic saving: n 每n张卡自动保存
和同行们交流一下昆腾的Define模块的应用