问:怎么循环将以下数据插入到这样一个数据表中? date r01 r02 r03 r04 r05 r06 r07 休息 1 h b c d e f g a 2 a h c d e f g b 3 a b h d e f g c 4 a b c h e f g d 5 a b c d h f g e 6 a b c d e h g f 7 a b c d e f h g 8 a b c d e f g h
9 g a b c d e f h 10 h g b c d e f a 11 h a g c d e f b 12 h a b g d e f c 13 h a b c g e f d 14 h a b c d g f e 15 h a b c d e g f 16 h a b c d e f g ------这个怪问题真是越想越乱啊!谁能救救我?小弟给您谢过了!
if not table1.active then table1.open; for i:=0 to mrow do begin q:=i mod 8; p:=(i div 8) mod 8; for j:=0 to 7 do begin m_string[j]:=mstr[j]; end; for j:=0 to 7 do begin if j:=0 to 7 then begin m_string[j] :=mstr[7-p]; m_string[7-p] :=mstr[j]; end; end; table1.append; ^^^^^^^^^^^^^^^^^^^^^^^ table1.post; end;