更新问题 [英] Updating Problems

查看:112
本文介绍了更新问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好


我在更新记录方面遇到了一些问题。我知道如何添加新记录并检查输入的新数据是否存在,如他们在 http://www.thescripts.com/forum/thread733529.html


现在,我的问题是......如何检查更新数据是否存在?请帮忙!!!


这里是添加新条目的示例代码:

Hi everyone

I have a little problem in updating a record. I know how add a new record and check if the inputted new data is existing or not as what they have discussed in http://www.thescripts.com/forum/thread733529.html.

Now, my problem is... How can I check if updating data is existing or not? Please help!!!

Here''s my sample code in adding a new entry:

展开 | 选择 | Wrap | 行号

推荐答案

我认为您需要检查重复例程中 strSQL 中正在构建的字符串。
I think you need to check the string which is being built in strSQL in the Duplicate routine.


对不起该行...我在提交之前忘了检查:)
Sorry for that line... I''ve forgot to check before submitting it :)



对不起该行......我在提交之前忘了检查:)
Sorry for that line... I''ve forgot to check before submitting it :)



嗯...不确定你的意思。但无论如何,我的帖子中有点不清楚。我的意思是,我建议你中断执行并检查这个表达式返回的值: StrSQL&标题& 重复例程中第10行的''"

Um... not sure exactly what you mean. But anyway, I was a bit unclear in my post. What I meant was, I''d recommend you interrupt execution and check the value returned by this expression: StrSQL & Title & "''" at line 10 in the Duplicate routine.


这篇关于更新问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆