请问各位高人,连编可执行文件时出现错误(内部一致性错误)咋办

sjmnwo 2009-12-22 09:57:35
请问各位高人,连编可执行文件时出现错误(内部一致性错误)咋办

还出现“致命错误:异常代码:C0000005”

http://hi.baidu.com/sjmnwo/album/item/ef12b8235f800074ac34de30.html

http://hi.baidu.com/sjmnwo/album/item/4ef170827eea71920df4d230.html
...全文
149 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
sjmnwo 2009-12-23
  • 打赏
  • 举报
回复
大家有没有好的VFP的编译软件啊,介绍一下啊,谢谢
sjmnwo 2009-12-23
  • 打赏
  • 举报
回复
问题已解决,谢谢,转换了思路,不一定非要用表单。
wwwwb 2009-12-23
  • 打赏
  • 举报
回复
你使用了什么控件、函数,没有看到文件,无法判断
sjmnwo 2009-12-23
  • 打赏
  • 举报
回复

public dqk,ljk
store space(40) to dqk
store space(40) to ljk
@10,6 say "请输入准备汇的总数据库名称:" get dqk
@12,6 say "请输入需要生成的数据库名称:" get ljk
read

USE &dqk
copy to ls fiel 图号,备注,bbh,名称,材料,单位,定额,bb,g1,gb,jhdj for bb<>' '

USE ls
repl all for bb='09' bb with '10'
DELE FOR BB='99'
dele for gb='j '
dele for gb='J '
dele for gb='k '
dele for gb='K '
dele for bbh='*'

PACK
use bzk1
dele all
pack
appe from ls

repl all cjh with bb,wzmc with 名称 ,ggxh with 材料,de with 定额,bz with 备注
repl all dw with 单位
repl all pzsl with 53 for gb='w'.or.gb='W'
repl all pzsl with 62 for gb='P'.or.gb='p'
repl all pzsl with 54 for gb='s'.or.gb='S'
repl bbh1 with bb+名称+材料+subs(备注,1,1) for gb<>' '.and.bbh=' '
repl bbh1 with bb+bbh for gb<>' '.and.bbh<>' '
repl bbh1 with bb+bbh for gb=' '.AND.bbh<>' '
repl bbh1 with bb+名称+材料+subs(备注,1,1) for gb=' '.AND.BBH=' '

repl ggxh with subs(图号,1,17)+subs(材料,1,17) all
inde on bbh1 to ls1
total on bbh1 to cj all;
fiel cjh,bbh,wzmc,ggxh,jhdj,bz,dw,de,pzsl

use cj
repl all jhdj with jhdj/de for de<>0
copy to &ljk fiel cjh,bbh,wzmc,ggxh,jhdj,bz,dw,de,pzsl
use
erase ls.idx

mc1=' '
bbh1=' '
ggxh1=' '
jhdj1=0
dw1=' '
sele 1
use &ljk
go top
do while .not.eof()
bbh1=subs(bbh,1,10)
if bbh1<>' '
sele 2
use y:\kczz\decx\hzyk1
locat for bbh=bbh1
if foun()
mc1=wzmc
jhdj1=jhdj
dw1=dw
ggxh1=ggxh
sele 1
if pzsl>0
repl jhdj with jhdj1
repl dw with dw1
repl ggxh with ggxh1
else
REPL wzmc with mc1
repl jhdj with jhdj1
repl dw with dw1
repl ggxh with ggxh1
endif
endi
endi
sele 1
skip
* endif
enddo
repl all dw with ' ' for dw='?
repl all dw with ' ' for dw=' ?'

clos data
erase ls*.idx
erase zjk.dbf
erase cj.dbf

这位老师,这个程序运行是可以运行的,但就是连编时出错,我把这些代码放在表单的
load过程中也可以运行,但是也连编不了,另外,
[color=#993300]@10,6 say "请输入准备汇的总数据库名称:" get dqk
@12,6 say "请输入需要生成的数据库名称:" get ljk
以上两行是原来想定位输出数据 ,但现在想做成表单上的两个标签,两个文本框
通过按钮来运行,但是不知道在文本框什么过程里写什么代码, get dqk 中的get
我也不明白什么意思啊,这个程序是原来程序员编的,我啥也不懂,非常惭愧

2,722

社区成员

发帖
与我相关
我的任务
社区描述
VFP,是Microsoft公司推出的数据库开发软件,用它来开发数据库,既简单又方便。
社区管理员
  • VFP社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧