我想要限制游标移动在指定范围内,如在字段“科目”的“语文”和和字段“考试时间”的“2000-3-1”之内,以下语句不行,怎样修改?
if ( adotable3['科目']=DBLookupComboBox2.text and adotable3['考试时间'] =DBLookupComboBox3.text) then
adotable3.Prior;
if ( adotable3['科目']=DBLookupComboBox2.text and adotable3['考试时间'] =DBLookupComboBox3.text) then
adotable3.Prior;
解决方案 »
- Quickreport下QRExpr分组统计的问题
- 复兴科技高薪诚聘DELPHI开发工程师(深圳南山科技园)
- delphi怎么样编写DLL文件呀,很急,希望大家帮助!!!
- WIN98下关机画面能否DIY?
- 关于Tregistry无法正确读取注册表的问题
- access独占方式打开的问题!!!
- 三层中控制登录用户的问题。
- 兄弟们,pRGBColor到底是什么数据类型啊?图象处理用,死查不到.另外图象加亮怎么做?
- 哎,老大们,怎么样防止创建窗体的多个实例啊??
- 如何在激活ComboBox的下拉列表时,让下拉显示部份在ComboBox的上方?(50分)
- ado数据库更新的问题。
- 如何使用ODBC动态创建表
adotable3.Prior;
(ADOTable1.FieldByName('考试时间').AsString=DBLookupComboBox2.text) Then
ADOTable1.Prior;
procedure TForm1.Button2Click(Sender: TObject);
var
rtForm:TRect;
begin
if Flag = False then
begin
rtForm:=Form1.BoundsRect ;
ClipCursor(@rtForm);
Button1.Enabled :=False;
Button2.Enabled :=False;
Button3.Enabled :=True;
Flag:=True;
end;
end;