Hellow喜欢这样的表:
Call<Protos.LoginResponse> call = userService.requestUserLogin(loginRequest);
call.enqueue(new Callback<Protos.LoginResponse>() {
@Override
public void onResponse(Call<Protos.LoginResponse> call, Response<Protos.LoginResponse> response) {
LogHelper.printLogMsg("onResponse: " + response.isSuccessful());
}
@Override
public void onFailure(Call<Protos.LoginResponse> call, Throwable t) {
LogHelper.printLogMsg("Failure: " + t.getLocalizedMessage());
mLoginListener.failed();
}
});
看起来像这样:
Cat
Dog
Dog
Phone
Computer
Computer
Computer
-Thanks
这是在EXCEL IF(A2 = A1,B1 + 1,1)中使用的Excel公式,我想在Access中进行。
答案 0 :(得分:1)
如果你有一些独特的数字字段(autonum将是完美的)你可以使用:
SELECT Object
, DCount("ID","Table1","Object='" & Object & "' AND ID<=" & ID) AS Num
FROM Table1
答案 1 :(得分:0)
使用带有迭代的While循环,每次更改记录后都会重置。