1853.html

来自「以电子书的形式收集了VB一些常见问题解决方法,可以很方便的查找自己需要解决的问题」· HTML 代码 · 共 22 行

HTML
22
字号
<html>  <head>    <title>Re: 观念不对喔!</title>  </head>  <BODY BACKGROUND="" BGCOLOR="white" TEXT="black" LINK="red" VLINK="#808080" ALINK="">    <center>      <h1>Re: 观念不对喔!</h1>    </center><HR><p>Posted by <a href="mailto:areil_cy@iname.com">Ariel CY</a> on February 03, 1998 at 23:12:42:<p>In Reply to: <a href="1821.html"><b>观念不对喔!</b></a> posted by 小吴 on February 01, 1998 at 23:31:05:<p>: 当你用 AddNew 来新增资料的时候,VB 并不会取用 data-aware control 上的内容。所以你用 AddNew 接着 Update 事实上是加入了一个所有栏位的值都是 Null 的记录。<br>Yes.<br>可能是该 table 的 primary key 不允许 null 值,所以会出错。<br>No! I changed the value of my controls. For example, a Text Box<br>was bound to a RDC, First, Addnew; Second, I changed the text of <br>the Text Box; Third, Update. Then a prompt is displayed. And the<br>count of SQL table's rdocolumns is 1.<br>If I use same method with Access Table and Data Control, Success. <br>But with SQL Table and RDC, then failure.<p>: 要将目前 form 上 data-aware 控制项的资料手动写入资料库的话,必须从 RDC 控制项上着手。因我没试过,你先试看看好了,若试不出来我再帮你查资料。<br>Please help me. Thanks.<br><br><p><a name="followups">Follow Ups:</a><br><ul><!--insert: 1853--></ul><!--end: 1853--><br><HR><p></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?