皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
在"用户表"中有4个字段:用户名(文本型,主关键字),密码(文本型),登录次数(数字型),最近登录时间(日期/时间型)。在"登录界面"的窗体中有两个名为tUser和tPassword的文本框,一个登录按钮 Command0。进入登录界面后,用户输入用户名和密码,点击登录按钮后,程序查找"用户表"。如果输入的用户名和密码全部正确,则登录次数加 1,显示上次的登录时间,并记录本次登录的当前日期和时间;否则,显示出错提示信息。为完成上述功能,请在【 】处填入适当语句。 Private Sub Command0_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim fd1 As ADODB.Field Dim fd2 As ADODB.Field Dim strSQL As String Set cn = CurrentProject.Connection strSQL = "Select 登录次数, 最近登录时间 From 用户表 Where 用户名='" & Me!tUser & "' And 密码='" & Me!tPassword & "'" rs.Open strSQL, cn, adOpenDynamic, adLockOptimistic, adCmdText Set fd1 = rs.Fields("登录次数") Set fd2 = rs.Fields("最近登录时间") If 【 】Then fd1 = fd1 + 1 MsgBox "用户已经登录:" & fd1 & "次" & Chr(13) & Chr(13) & "上次登录时间:" & fd2 fd2 = Now() rs.Update Else MsgBox "用户名或密码错误。" End If rs.Close cn.Close Set rs = Nothing Set cn = Nothing End Sub A. Not rs.EOF B. rs.EOF C. Not EOF D. EOF
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】分封制中,周天子通过( )的礼仪,确定君臣关系。
A.
授民、授公爵
B.
授民、授疆土
C.
联姻、授民
D.
授公爵、联姻
【多选题】Unit 8 Task 10 It was __________ and the judge was in a good mood as he questioned the prisoner:"What are you charged with?" he asked. "Doing my Christmas __________ early," replied the prisoner. "Tha...
A.
Christmas
B.
shopping
C.
replied
D.
early
E.
store
【简答题】华强公司是房地产开发企业,改革开放以来由于该企业重视开拓新的市场和保持良好的资本结构,逐渐在市场上站稳了脚跟,同时也使企业得到不断的发展壮大,在建立现代企业制度的过程中走在了前面。为了进一步拓展国际市场,公司需要在国外建立一个全资子公司。该子公司需要投资3000万元。财务总监张敏将向董事会汇报下年的总体财务计划。预算的重点在于融资方案的选择。公司目前的资本来源包括面值为2元的普通股2 000万股和...
【单选题】普通股的优点不包括
A.
无需还本
B.
融资成本较高
C.
降低财务风险
D.
提高公司信誉
【简答题】(作文参考答案如下) What causes people ’ s irrational behavior? There are a lot of people who behave irrationally, causing problems to themselves as well as to others. It ’ s hard to yze the exact causes b...
【单选题】留存收益融资的优点不包括( )。
A.
资金成本较普通股低
B.
保持普通股股东的控制权
C.
增强公司的信誉
D.
有利于发挥财务杠杆作用
【单选题】According to the passage, what difficulty did the social and behavioral sciences confront in the 1970's?
A.
The social and behavioral sciences lost out in the race for federal science funds.
B.
Governments are more than alarmed about a variety of social problem.
C.
Nearly half of all urban dwelling American males can expect to be arrested for some non-traffic offense during their lives.
D.
Most criminals halt their careers by age 25 to 30.
【简答题】对企业而言,普通股融资的优点不包括( )。 A.增强公司筹资能力 B.降低公司财务风险 C.降低公司资本成本 D.没有使用约束
【单选题】在研究中需要把研究对象看成是刚体的是:
A.
汽车在行驶中的路线问题
B.
桥梁在外力作用下的变形问题
C.
卫星姿态变换问题
D.
研究卫星的运行轨道
【多选题】There're two main ways that they offense can advance the ball. What are they?
A.
offside
B.
passing
C.
delay of game
D.
running
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题