|
|
导航: |
论坛 -> DELPHI技术
斑竹:liumazi,sephil |
|
作者: |
|
2003/5/6 22:58:17 |
标题: |
|
加入我的收藏 |
楼主: |
1,如何获得表中的记录号并让其显示在EDIT1中?
2,如何编写修改密码的代码,我的代码又有什么错误呢? table1.FieldValues ['操作员代码']:=dbedit1.Text ; table1.FieldValues ['新密码']:=edit2.Text ; if edit2.Text <>edit1.Text then begin showmessage('两次密码输入不一致,请重新输入!'); edit1.Text:=' '; edit2.Text:=' '; edit2.SetFocus end else table1.Post;
3,如何获得系统时间并让其显示在EDIT2中?
----------------------------------------------
i am a straw! |
作者: |
321 (321) |
★☆☆☆☆ |
-
|
普通会员 |
|
2003/5/6 23:04:43 |
1楼: |
问题1,用DBEdit直接关联到记录号就行了。 问题2,首先要 Table1.Edit; 才能运行你的修改。 问题3,Edit2.text:=now;
----------------------------------------------
-
|
|