摘要:
在Delphi中,Locate和Lookup封装了原生ADO的Find查找方法。提供以下函数形式使用1functionTCustomADODataSet.Locate(constKeyFields:string;2constKeyValues:Variant;Options:TLocateOptions):Boolean;3begin4DoBeforeScroll;5Result:=LocateRecord(KeyFields,KeyValues,Options,True);6ifResultthen7begin8Resync([rmExact,rmCenter]);9DoAfterScrol 阅读全文
posted @ 2012-02-02 12:13 豪杰的爸爸 阅读(1944) 评论(0) 推荐(0)
浙公网安备 33010602011771号