CREATE CURSOR tt (bb n(5,2))
INSERT INTO tt VALUES (12.30)
INSERT INTO tt VALUES (12.00)
INSERT INTO tt VALUES (11.34)
GO TOP
BROWSE NAME og NOWAIT
og.Column1.ControlSource='RTRIM(TRANSFORM(tt.bb),"0")'
或者
og.Column1.ControlSource='PADR(RTRIM(TRANSFORM(tt.bb),"0"),5)'
[此贴子已经被作者于2017-10-30 20:37编辑过]