解释下这句VFP thisform.grid1.recordsource="sele * from 外汇账户 where 钞汇标志 ='"+iif(thisform.myoption.value=1,"现汇","现钞")"'into cursor 1sb"

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/21 23:35:58
解释下这句VFPthisform.grid1.recordsource="sele*from外汇账户where钞汇标志=''"+iif(thisform.myoption.value=1,"现汇","现

解释下这句VFP thisform.grid1.recordsource="sele * from 外汇账户 where 钞汇标志 ='"+iif(thisform.myoption.value=1,"现汇","现钞")"'into cursor 1sb"
解释下这句VFP
thisform.grid1.recordsource="sele * from 外汇账户 where 钞汇标志 ='"+iif(thisform.myoption.value=1,"现汇","现钞")"'into cursor 1sb"

解释下这句VFP thisform.grid1.recordsource="sele * from 外汇账户 where 钞汇标志 ='"+iif(thisform.myoption.value=1,"现汇","现钞")"'into cursor 1sb"
sele * from 外汇账户="从外汇账户上选择 * "
'*'号为外汇账户中的某一个(些)账户
而取得'*'号的条件为 :where 钞汇标志 ='"+iif(thisform.myoption.value=1,"现汇","现钞")"
把符合以上条件的账户放入到 cursor 1 sb