问个小问题,高手帮忙!
在VF下编一个输入职工档案数据的界面,在da.dbf后面追加记录
程序清单如下:
set talk off
clear
@ 1,30 say "输入职工记录" font"T 宋体",22
store space(4) to n
store space(6) to nam
store space(2) to sex
store space(10) to job
store .f. to retire
wage=0
store ctod(" / / ") to birth
use da
append blank
@ 4,10 say "编号:" get n picture"9999"
@ 6,10 say "姓名:" get nam picture"aaaaaa"
@ 6,26 say "性别:" get sex picture"aa"
@ 6,40 say "出生日期:" get birth picture"@d"
@ 8,26 say "职务:" get job picture"aaaaaaaaaa"
@ 8,60 say "基本工资" get wage picture"9999.99" range 500,2000
read
replace 编号 with n,姓名 with nam,性别 with sex,出生日期 with birth,;
退休 with retire,基本工资 with wage,职务 with job
use
return
与书上的一样,但是为什么在输入的时候,姓名、性别、职务3个字符类输入框不能输入数据?高手帮解决一下啊,谢谢:)