adodataset1.sort:='name desc';
请问是为什么?

解决方案 »

  1.   

    name字段为空或者索引字段为空
      

  2.   

    delphi 6 可以自动建立索引字段,难道要加索引字段
      

  3.   

    If the cursor is client-side (the dataset component CursorLocation property or that of an associated TADOConnection component is clUseClient) and no index already exists matching the requested field sort order, a temporary index is created. Resetting the sort order by setting Sort to an empty string automatically deletes the temporary index.