alexlow
2nd September 2008, 13:01
hi,
i want to add an order number using the first free number, initial when i try it was ok, after selecting the pre-fix, whenever i click the save button, number will be generated automatically.
but now is not working and i can't figure out what is going on.
i set the field to zoom session of tcmcs0150m000 to return the series.
add the following code to make it pick from the correct number group and find point to the main table.
field.whxxx300.iono:
before.zoom:
if choice = def.find then
|* when using def.find, other zoom session applies:
attr.zoomsession$ = "whxxx3100m000"
attr.zoomreturn$ = "whxxx300.iono"
else
tcmcs050.nrgr = "W17"
endif
after.zoom:
whxxx300.iono = shiftr$(whxxx300.iono)
now when i click save, it doesn't generate IO000001, IO000002...
instead it just show IO
please advice. thanks
i want to add an order number using the first free number, initial when i try it was ok, after selecting the pre-fix, whenever i click the save button, number will be generated automatically.
but now is not working and i can't figure out what is going on.
i set the field to zoom session of tcmcs0150m000 to return the series.
add the following code to make it pick from the correct number group and find point to the main table.
field.whxxx300.iono:
before.zoom:
if choice = def.find then
|* when using def.find, other zoom session applies:
attr.zoomsession$ = "whxxx3100m000"
attr.zoomreturn$ = "whxxx300.iono"
else
tcmcs050.nrgr = "W17"
endif
after.zoom:
whxxx300.iono = shiftr$(whxxx300.iono)
now when i click save, it doesn't generate IO000001, IO000002...
instead it just show IO
please advice. thanks