# 资料查询...

Posted by gary on August 12, 1998 at 03:08:11:

请问资料查询:
Private Sub del_Click()
Dim cret As String
Dim bkmk As Variant
bkmk = Form2.Data1.Recordset.Bookmark
cret = InputBox$("请输入欲删除编号:", "删除")
Data1.Recordset.FindFirst "编号 = '" + cret + "'"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
因为 findfirst 只能用来查询"字串" ,所以想请教若要查询"数值" 要怎么做?? 用那个物件呢?? 谢谢!! ^0^

Follow Ups:

- 谁说 Find 不能查数字的? 小吴 08:06:04 8/12/98 (0)