首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴manman1992的代码贴全部
Private Sub Command3_Click()
Dim sql As String, mlink As String, mpath As String, mzy As String
    mpath = App.Path
    If Right(mpath, 1) <> "\" Then App.Path = mpath + "\"
    mzy = InputBox$("请输入房号", "查找窗")
    sql = "Select * from 散客帐务查询 where 房号='" & mzy & "'"
    mlink = "Provider=Microsoft.Jet.OLEDB.3.51;"
    mlink = mlink + "Persist Security Info=False;"
    mlink = mlink + "Data Source=" + App.Path + "客人情况登记.mdb"
    Adodc1.ConnectionString = mlink
    Adodc1.CommandType = adCmdUnknown
    Adodc1.RecordSource = sql
......................
阅读全部 | 2012年4月18日 13:35
怎样用代码连接两个Windows窗体
阅读全部 | 2012年3月14日 02:21
1
manman1992