FoxPro6.0常用命令 一览
将工资加五十的命令:
replace all 工资 with 工资+50 for 职称="工程师"
在4至五条记录之间加入一条空白记录:
go 4
insert blank
创建表employee3.dbf命令
copy field 仓库号,职工号,姓名,工资 to employee3.dbf
复制少数民族且80年后出生的记录命令
copy to employee1.dbf for 民族<>"汉" and year(出生日期)>80
性别和出生日期排序
sort to order3 on 性别/d,出生日期
统计人数to a
count all for 民族<>"汉" and 性别="男" to a
DELETE ALL FOR 姓名="李长海" 逻辑删除
recal 逻辑恢复
pack 物理删除
list for 姓名="王" and 性别="女" ( 3、 显示所有姓“王”且性别为“女”的信息 )
replace all 工资 with 工资+50 for 职称="工程师"
list all
replace all 工资 with 工资-50 for 职称="工程师"
disp 显示
list all
brow 显示表
go 5
disp 显示第五号记录
modi stru 修改表<PIXTEL_MMI_EBOOK_2005>1 </PIXTEL_MMI_EBOOK_2005>