0

I am pulling data from table Supervisors. Through each iteration, I want to know when Supervisor.SupNum changes. If the value changes, do this. If it stays the same, do the other.

How would I accomplish this?

4

1 回答 1

0

尝试这个。

如果 (Supervisor.SupNum = chk) 那么标志 =true; 否则 chk := Supervisor.SupNum; 标志=假结束如果;

如果您希望第一次迭代为真,则使用另一个迭代器 i。

如果 (i=0) 那么 Supervisor.SupNum := chk; 万一; 我++;

于 2013-04-14T03:14:31.763 回答