1.如果是二层并且没有设置CacheUpdate的程序就行,如果是三层的就仅仅是提交到本地的内存中。
2.同上

解决方案 »

  1.   

    1.如果是二层并且CacheUpdate=False的程序就行,如果是三层的就仅仅是提交到本地的内存中。
    2.同上 
     
      

  2.   

    POST能把数据返回到数据库
    QUERY.DELETE能把当前记录从数据库中删除,方法如下;
        Query1.Close;
        Query1.RequestLive:=true;
        Query1.SQL.Clear;
        Query1.SQL.Add("Select Nation1st,Nation2nd from gu_enmities");
        if (Query1.Prepared=false)
            Query1.Prepare;
        Query1.Open;
        //查找数据,定位游标
        TLocateOptions Opts;
        Variant LocValues[2];
        LocValues[0] := Variant(iNation1);
        LocValues[1] := Variant(iNation2);
        Opts.Clear;
        Opts << loCaseInsensitive;
        Query1.Locate("Nation1st;Nation2nd", VarArrayOf(LocValues,1), Opts);
        Query1.Edit;
        Query1.Delete;
        Query1.Close;