#2
sam_jiang2023-09-08 16:37
|
程序代码:
SET TALK OFF
CLEAR
count to Tj for bpdfxz="W1"
IF (TJ=0)
=MESSAGEBOX("今日无含W1标志数据",64)
ELSE
USE E:\test\&NYR\BJ.dbf
LOCATE ALL for left(BPDFDM,1)="E" or left(BPDFDM,2)="06"
CONTINUE
IF found()
SCAN FOR left(BPDFDM,1)="E" or left(BPDFDM,2)="06"
replace bpdfxz with " "
ENDSCAN
=MESSAGEBOX("含有W1标志情况,请检查BJ后,再报送!",64)
ELSE
=MESSAGEBOX("今日无需要数据",64)
ENDIF
ENDIF
CLOSE ALL
CLEAR EVENTS
QUIT
CLEAR
count to Tj for bpdfxz="W1"
IF (TJ=0)
=MESSAGEBOX("今日无含W1标志数据",64)
ELSE
USE E:\test\&NYR\BJ.dbf
LOCATE ALL for left(BPDFDM,1)="E" or left(BPDFDM,2)="06"
CONTINUE
IF found()
SCAN FOR left(BPDFDM,1)="E" or left(BPDFDM,2)="06"
replace bpdfxz with " "
ENDSCAN
=MESSAGEBOX("含有W1标志情况,请检查BJ后,再报送!",64)
ELSE
=MESSAGEBOX("今日无需要数据",64)
ENDIF
ENDIF
CLOSE ALL
CLEAR EVENTS
QUIT
请帮看下 我这条语句“ ELSE
=MESSAGEBOX("今日无需要数据",64)”,结果出不来,我的想法是,账户开头不是E和06且标志是w1,提示"今日无需要数据",但是执行下来,不会有提示。仍然按提示“含有W1标志情况,请检查BJSBP后,再报送!",64”执行