数据更新,奇怪的record changed by another user

yesxwl 2003-06-19 08:56:56
一个数据表中同样的三条记录,在delphi中一条可以正常更新,另两条1条报其他用户已修改,还有一条类型转换错误。
在数据库中都可修改sql server 2000,此是没有其他客户端使用,数据库服务器重新启动都不行?
...全文
106 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
yesxwl 2003-06-19
  • 打赏
  • 举报
回复
谢谢两位!但有的记录正常更新,我用的是Applyupdate,用delphi中的database explore也不行,
用一个最简单的table+dbgrid 也是同样的问题,同样的输入值应用在不同的记录上结果不一样
「已注销」 2003-06-19
  • 打赏
  • 举报
回复
改变字段的Providerflags属性,只保留主键在where条件中
BES 2003-06-19
  • 打赏
  • 举报
回复
类型转换错误:你代码的原因,跟踪一下,前台与后台,注意NULL值
报其他用户已修改:数据表中如有Float字段转换为Numeric类型, 前台如使用Table控件,将其换作Query试试
Delphi 7.1 Update Release Notes=======================================================This file contains important supplemental and late-breakinginformation that may not appear in the main productdocumentation, and supersedes information contained in otherdocuments, including previously installed release notes.Borland recommends that you read this file in its entirety.NOTE: If you are updating a localized version of Delphi 7, visit the Borland Registered User web site to obtain a localized readme file that may contain important late- breaking information not included in this readme file.IMPORTANT: Delphi must be closed before installing this update. =====================================================CONTENTS * INSTALLING THIS UPDATE * UPDATING LOCALIZED VERSIONS OF DELPHI 7 * KNOWN ISSUES * ISSUES ADDRESSED BY THIS UPDATE - IDE - CORE DATABASE - DATASNAP - DBGO (ADO COMPONENTS) - dbExpress - dbExpress COMPONENTS AND DB VCL - dbExpress CORE DRIVER AND METADATA - dbExpress VENDOR ISSUES - dbExpress CERTIFICATION - WEB SNAP - ACTIVEX - COMPILER - RTL - VCL - THIRD PARTY - BOLD FOR DELPHI * VERIFYING THAT THE UPDATE WAS SUCCESSFUL * FILES INSTALLED BY THIS UPDATE =======================================================INSTALLING THIS UPDATE* This update can not be applied to Delphi 7 Architect Trial version. * This update can not be removed after it is installed.* You will need the original Delphi 7 installation CD available to install this update.* To install this update from the CD, insert the CD, and launch the d7_ent_upd1.exe file appropriate for your locale.* To install this update from the Web, double-click the self-executing installation file and follow the prompts. * The Delphi 7 documentation PDF files are available on the update CD.========================================================UPDATING LOCALIZED VERSIONS OF DELPHI 7* This update can be applied only to the English version of Delphi 7. There are separate updates for the German, French and Japanese ver

2,497

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 数据库相关
社区管理员
  • 数据库相关社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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